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

Unit tests #21

Open
nathan-osman opened this issue Mar 11, 2014 · 2 comments
Open

Unit tests #21

nathan-osman opened this issue Mar 11, 2014 · 2 comments

Comments

@nathan-osman
Copy link
Member

Ideally, we should have unit tests for as much of the code as possible to ensure new commits don't have unexpected side-effects. If set up correctly, we can use Travis CI to run the tests for pull requests.

@nathan-osman
Copy link
Member Author

The unit tests are nowhere near complete so I will reopen this bug.

@nathan-osman
Copy link
Member Author

Another update (since I've been forgetting to reference this bug in commit messages): I just added tests for CMarkdown (our custom markdown extension). The following should be included in the test suite before this bug is closed:

  • scheduled articles
  • form submissions (registration, feedback, article submission)
  • RSS feed and API

These are the big ones that I can think of off the top of my head. I may think of others to add.

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

No branches or pull requests

1 participant