Hacker News new | ask | show | jobs
by Snaipe 4078 days ago
Developer here. If you have any suggestion/criticism on the project, I'd be happy to know.

What this brings on the table compared to other frameworks is a very simple way to write tests, while giving the programmer enough liberty to do what he wants.

Criterion achieves that by implementing a xUnit structure with automatic test registration using a declarative syntax -- which means you can be very expressive with the way you declare your tests and suite in a few lines of code. The rest is handled by criterion itself and the default main it provides.

Samples: https://github.com/Snaipe/Criterion/blob/bleeding/samples

Documentation: http://criterion.readthedocs.org/en/latest/