marianoguerra / rst2html5

transform restructuredtext documents to html5 + twitter's bootstrap css, deck.js or reveal.js
http://marianoguerra.github.com/rst2html5
MIT License
177 stars 51 forks source link

Add test framework #75

Closed torfsen closed 8 years ago

torfsen commented 8 years ago

While I was working on my fix for #72, I would have loved to write some test to make sure that my fix does indeed solve all the problems. However, rst2html5 currently doesn't seem to have any tests at all, and since I was not sure how to proceed I decided to raise this as a separate issue.

Since rst2html5 supports multiple versions of Python I suggest using tox. Since tox itself only automates running the tests for the target Python versions one still needs a test framework for the tests itself. I suggest pytest.

If this sounds OK to you I'd be happy to set it up and provide a PR.

marianoguerra commented 8 years ago

:+1: