hspec-snap alternatives and similar packages
Based on the "Snap" category
Do you think we are missing an alternative of hspec-snap or a related project?
hspec-snap is a library to allow you to write tests against Snap web
applications in the context of an
hspec test suite.
The basic usage is that within an
hspec test suite, you can insert a
snap, within which all of the normal spec organization
tools work (
it), but the content of the
actual tests should be tests in the Snap context. These tests can make
requests against your application, run arbitrary handler functions,
and assert various HTTP statuses, content of HTML pages, or just plain
unit tests. You can't mix in other types of tests within the
block, and you can't share values between different unit tests (a unit
test being what's inside an
it), but you can have any number of
snap blocks, and can make any number of assertions within a unit
test block (from HSpec's perspective, though, it is just one test).
To get started, take a look at the test suite within the
The easiest examples to look at are in the test suite in the
Daniel Patterson (firstname.lastname@example.org)
Tim Adams (email@example.com)
Greg Hale (firstname.lastname@example.org)
*Note that all licence references and agreements mentioned in the hspec-snap README section above are relevant to that project's source code only.