Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
That's really good news - thanks jhoffner
BTW, in case anyone is interested and you are familiar with mocha or chai, you can require "chai" and should be able to use its assertions. The only caveat is that the CW framework requires some sort of output, which chai won't do if the test passes. So you have to call
Test.pass
at the end of your test. i.e:thanks xcthulhu
Not really; there's source code you can read:
https://github.com/Codewars/codewars-runner/blob/master/frameworks/javascript/cw-2.js
It's sort of like mocha, if you know that test framework.
Hi all - is there any documentation on writing tests for this framework?