You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
slayerjay edited this page Jun 28, 2012
·
1 revision
NutCocoJS primarily use QUnit as its unit test framework. It also uses SinonJS to provide test spies, stubs, and mocks. When testing RequireJS modules mock dependencies can be set using testrjs.
Test cases can be written and included in the tests\testmodules\ folder, and the path for the test case files should be included in the require call in the tests\tests.js file.
Refer the tests\testmodules\sampleTests.js to see sample test cases.