redding / assert

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

break out common config helpers to share between runner/view #221

Closed kellyredding closed 9 years ago

kellyredding commented 9 years ago

Really these helpers can be used on anything that provides a config method. This is prep for making the runner more powerful and implementing a multi-process runner.

The runner will need to have some of these helpers available so I figured why not make all config-based helpers available since the runner knows its config.

In addition, this adds tests for all of the config helpers. These were previously untested. There are also a number of minor cleanups, mainly to some old tests, that I noticed while making these changes.

@jcredding ready for review. I'm going through and making some cleanups to Assert internals in prep for doing Parassert. I'll have a number of PRs all related to this. None of these should change the external API or behavior - just reorganizing and making it easy/intended to extend the suite/runner for Parassert's needs. FYI.

jcredding commented 9 years ago

@kellyredding - Looks good :boom: