|
|
Unit Test Step 3
Here you now see the Unit Test Designer. In the top pane you can see that it is just plain sql, and because we asked it to generate this test based on a specific SPROC, the code has already been built for us including any required arguments and the execution. In the lower portion of the screen is the assertion editor. You can choose assertions you want to test from the drop down list and then select the conditions you want to meet such as the number of rows returned by the query with a RowCount assertion. If you know C# or VB you can "drop behind" the designer experience and extend the tests with your chosen language.
Posted By: thomas murphy
Viewed: 4051
Comments: 3624
Rating: 0 vote(s)
Average Rating: 0
|