How to run Javascript tests? (JsTestDriver is not suited well)...

Hi I'm trying to run a test in Javascript. The greeter example provided here http://blog.jetbrains.com/webide/2011/10/javascript-unit-testing-support/ runs correctly.
When I change something I'll obtain:
    No tests found. Please check 'test:' section of the configuration file.
    Empty test suite.

The file fuckingme.jstd contains:

  - ./src/User.js
  - ./test/UserTest.js

I have also tested it without ./
The file User.js contains:
function User(firstName, lastName, birthDate) {
    this.firstName = firstName;
    this.lastName = lastName;
    this.birthDate = birthDate;

The file UserTest.js contains:
TestCase("UserTest", {
    "this is a test you mother fucker of an ide": function() {
        var user = new User("Mario", "Rossi", new Date());

any idea on how can I run it?
Thanks bye


Please sign in to leave a comment.