redding / assert

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

accumulate: prep notes for accumulating test results #264

Closed kellyredding closed 8 years ago

kellyredding commented 8 years ago

I made a bunch of notes of things to change when switching to accumulating test results. Currently we store every test object and every result generated by every test. This is inefficient for calculating summary info at the end of the test run and is unnecessary as we don't need to store all of this data. Plus the overhead on large test suites is significant.

In this overall effort, I plan on switching to not storing every test. Instead, tests will be shifted off as they are run and only result data needed for presentation will be accumulated. This should save memory not storing as many objects and should make rendering summary presentation data more efficient.

@jcredding I'm kicking off this feature/rework and I wanted to make a bunch of notes and then follow up with efforts that handle each note. FYI.

kellyredding commented 8 years ago

@jcredding oops meant to make this against the feature branch - closing this one to open a different one. Sorry for the noise.