Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-mocks' test suite not running properly #10

Open
mattijs opened this issue Sep 10, 2013 · 1 comment
Open

node-mocks' test suite not running properly #10

mattijs opened this issue Sep 10, 2013 · 1 comment

Comments

@mattijs
Copy link

mattijs commented Sep 10, 2013

I tried to write some additional tests for node-mocks but I don't seem to be able to get them running. I added them in the existing fs.spec.coffee file with the same syntax but they don't show up in the test output.

I tried running the tests with jake test and jasmine-node --coffee test/fs.spec.coffee but no results.

When I edit one of the existing tests and make it fail deliberately it doesn't show up as failed in the output either.

What is the correct way to run the tests and get some new tests in there?

@tschaub
Copy link

tschaub commented Nov 3, 2013

@mattijs I was able to get tests passing on Node 0.8, but not 0.10. I don't have (or want) global installs of jake or jasmine-node, so I added the following to package.json:

  "scripts": {
    "test": "jake --trace test"
  },

With this, I can run the tests (on Node 0.8 only) with npm test.

See also #12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants