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
kdvolder edited this page Dec 21, 2012
·
8 revisions
(Valid for 0.3.0 release and later)
Tests are located in the scripted/tests folder. Beneath that folder are the client and server tests. Client tests are are qunit based and server tests use nodeunit.
Please run the tests before submitting any pull request.
clientTests: focusing on content assist, inferencing, mark occurrences, keybindings, and summarizing. To To run, start the server and navigate to URL: http://localhost:7261/clientTests
Even though the clientTests do not make any server calls, they still require the server to be running in order to serve the initial HTML file.
Server tests
Server-side tests focus on testing the server-side node modules and apis. To run the tests:
cd scripted
npm test
The tests use nodeunit as the test driver so you must have nodeunit installed. It can be installed
as follows: