Created
December 5, 2008 20:12
-
-
Save aristidb/32491 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suite_name = 'The big test suite' | |
test_foo = function() { | |
expect(2); | |
ok(1, "Check ok"); | |
same([1,2],[3,2], "Arrays are the same"); | |
} | |
/* | |
[execute in scope (new TestSuite)] | |
Output will be something like: | |
test_foo: | |
1..2 | |
1 ok - Check ok | |
2 not ok - Arrays are the same | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment