redding / assert

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

update view to get all test/result data from the suite #237

Closed kellyredding closed 9 years ago

kellyredding commented 9 years ago

Before the view gathered its data partially from the suite and partially processed it on its own. This would break if the suite implements custom ways of storing and making data available.

This reworks the views and view helpers to get all data from the suite and updates the default suite to implement all suite behavior by storing data in memory and processing it in memory.

This is prep for assert-sqlite where its suite will not store data in memory but will instead store it in the db and query the db for data processing.

There are a few other tweaks I've added here:

@jcredding ready for review.

jcredding commented 9 years ago

@kellyredding - Very nice, looks good :boom: Interesting about count vs size.