Skip to content
pconrad edited this page Oct 20, 2011 · 14 revisions

To test exercises, you need to also have the qunit testing framework in the directory khan-exercises/tests/qunit. This is a separate download. Once you do that, you can navigate to these pages to see test results:

  • khan-exercises/test has regression tests for exercises
  • khan-exercises/utils/test has unit tests for utility functions

Have you tried fixing any bugs in our issue tracker? There is a monstrous number of open issues, but fortunately most of them are not real bugs. You can click the link provided to open sandcastle up to the exact same problem that the user was facing. If you use Chrome, check out this Chrome extension that opens the same problem locally when you type the letter "o"!

Please comment on the issue to say whether it is an invalid or valid issue, what the underlying problem might be, or even submit a pull request to fix it!

Note that you can append &debug to the end of the exercise URL (ex: addition_1.html?seed=144&problem=0&debug) to see the values of the variables used in the problem. In this special debug mode, you can type "h" to reveal the next hint.