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
Kuan Butts edited this page Nov 22, 2016
·
2 revisions
Testing introduction
The purpose of this section will be to describe how to set up and run the testing environment. In addition, there will be documentation about untested aspects of the application that are areas for immediate investment in the future.
Run tests on just one testing file
Let's say you are working on one aspect of the application and do not want to wait to run all the tests in the npm test process every single time to make sure that everything is working. Instead of running npm test, run CCENV=testing mocha ./test/app/_init.js ./test/app/voiceController.js. Simply replace voiceController.js with whatever file it is that you want to test in lieu of all the test files.