Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class describe_craziness : NSpec
- {
- void when_running_test()
- {
- before = () => DBHelper.InsertCustomer('John');
- specify['test 1'] = todo;
- after = () => DBHelper.DeleteCustomer('John');
- }
- void weird_test()
- {
- DBHelper.InsertCustomer('John'); //this isn't in an nspec block
- specify['test 1'] = todo;
- specify['test 2'] = todo;
- after = () => DBHelper.DeleteCustomer('John');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement