Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added example of handling exceptions to documentation.
  • Loading branch information
jgebal committed Oct 26, 2017
commit 80493a5e9cc04cf1fc59e64a2ca1d059b18f9655
2 changes: 1 addition & 1 deletion docs/userguide/expectations.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ The call to `ut.fail` is required to make sure that the test fails, if we expect

The call to `ut.expect` uses `equal` matcher to check that the exception that was raised was exactly the one we were expecting to get in particular situation.

Depending on the situation you might want to check for both `sqlcode` and `sqlerrm` or even check if no changes were made in DB tables.
Depending on the situation you will want to check for `sqlcode`, `sqlerrm`, both or perform additional expectation checks to make sure nothing was changed by the called procedure in the database.


# Supported data types
Expand Down