I would like to know if it is possible to run nodeunit tests within Cloud9 IDE (like I run JUnit tests within IDE like Eclipse).
ps: I use a local Cloud9 IDE, not from c9.io
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yep, as described in this blogpost you can write your tests by postfixing your javascript files with
_test(so, the tests forproject.jswill be inproject_test.js). And they will run automatically when you saveproject.js(or the test file).In the near future there will be a test panel available that lists all your unit test files so you can test your whole application with one click.