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

Tests #1

Closed
diN0bot opened this issue Feb 18, 2012 · 3 comments
Closed

Tests #1

diN0bot opened this issue Feb 18, 2012 · 3 comments

Comments

@diN0bot
Copy link
Contributor

diN0bot commented Feb 18, 2012

  1. Create some fake devops fixtures, and render them through index.jade to make sure the index can at least compile when different optional fields are present or absent.
  2. Crawler tests? Seems like a basic download that we don't have to touch again. If we continue to add different auth methods, we may want tests. Need to make sure it fails gracefully when endpoint is down (doesn't overwrite with empty file)
  3. Each new middleware should probably have unit tests sine munging data is easy to test. Could use the same fake fixtures, too.
  4. Potentially an integration test on the index router/controller.
@ghost ghost assigned diN0bot Feb 18, 2012
@diN0bot
Copy link
Contributor Author

diN0bot commented Feb 19, 2012

https://github.com/felixge/node-gently "A node.js module that helps with stubbing and behavior verification. It allows you to test the most remote and nested corners of your code while keeping being fully unobtrusive."

@diN0bot
Copy link
Contributor Author

diN0bot commented Feb 19, 2012

http://visionmedia.github.com/mocha/ "Mocha is a feature-rich JavaScript test framework running on node and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases."

@philips
Copy link
Contributor

philips commented Feb 20, 2012

I had good luck with nock and whiskey on the node-buildbot package: https://github.com/philips/node-buildbot

@diN0bot diN0bot closed this as completed Feb 24, 2012
@diN0bot diN0bot removed their assignment Dec 6, 2014
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