|
-
Oct 19th, 2009, 04:44 AM
#1
Thread Starter
Hyperactive Member
Stopping Tests in Code
How do I stop a list of tests from executing, in code, if the first one fails?
I have a large list of unit tests that need to be run against a project, these tests should not be run in full unless the database has been rebuilt. So, I want to check the database is empty and, if it isn't, abandon all further tests in the list.
Obviously, checking the database is easy, but I cannot find any way of stopping the rest of the test list from executing in code.
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|