redding / assert

Assertion style testing framework.
https://github.com/redding/assert
MIT License
10 stars 1 forks source link

`around` context callback #179

Closed kellyredding closed 10 years ago

kellyredding commented 10 years ago

This method is designed to run before and after the test runs. It should expect a block argument and should call the block at some point to ensure the test runs.

This is designed to be used with things that need to run blocks manually - things like:

Closes #157.

@jcredding ready for review.

jcredding commented 10 years ago

@kellyredding - Looks good :boom: Implementation makes sense and the tests look good.