DescriptionMove test(), group(), and expect() to top level.
Instead of being methods on UnitTestSuite, they will automatically create
one if there isn't already one, then run it. This lets you define tests just
like:
main() {
test('not crazy', () {
expect(sky) == blue;
});
}
Committed: https://code.google.com/p/dart/source/detail?r=490
Patch Set 1 #Patch Set 2 : Remove unneeded explicit suite. #
Total comments: 1
Patch Set 3 : Rebase from master. #Patch Set 4 : Respond to review. #
Total comments: 9
Messages
Total messages: 7 (0 generated)
|