2buntu / 2buntu-blog

Source code for the 2buntu blog.
http://2buntu.com
Apache License 2.0
15 stars 11 forks source link

Unit tests #21

Open nathan-osman opened 10 years ago

nathan-osman commented 10 years ago

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 commented 10 years ago

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

nathan-osman commented 9 years ago

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:

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