Page 1 of 1

Multiple test sections for code

PostPosted: Tue Feb 14, 2012 2:49 pm
by Charles
I have added support for multiple "test" sections in a method or property (or indexer). We already had this at the class and struct level. dwilliamii suggested it so he could make his tests more granular.
class X

def foo
test
assert bar
test
assert baz
body
pass

Re: Multiple test sections for code

PostPosted: Fri Feb 17, 2012 12:53 pm
by torial
Excellent! Great change.