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

Testing (Karma = e2e & unit, API = mocha) #1534

Closed
lefnire opened this issue Sep 14, 2013 · 2 comments
Closed

Testing (Karma = e2e & unit, API = mocha) #1534

lefnire opened this issue Sep 14, 2013 · 2 comments
Assignees

Comments

@lefnire
Copy link
Contributor

lefnire commented Sep 14, 2013

  1. Client code test: Karma (e2e & unit)
  2. Server code: mocha unit tests

This is an enormous task, and I'm actually going to make it one of my HabitRPG Dailies to add one test / day. I'm just creating this ticket to get it on the radar, will reference some initialization / salient commits to the ticket, & close it

@lefnire
Copy link
Contributor Author

lefnire commented Sep 14, 2013

Sheiße, we're gonna have to figure something out for the e2e tests. They can't run the server (esp. if we want CI like Travis on GH), but the server is what generates the html files from Jade + SSI.

  1. We could get away without writing e2e tests, and just have solid controller specs
  2. Or we could make the jade compiling a Grunt step instead of Express... not wait, we can't do that because we need to inject server variables from the controller routes. Hmm..

@lefnire
Copy link
Contributor Author

lefnire commented Nov 5, 2013

@djuretic has been all over this, closing this ticket because he's awesome.

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

1 participant