This is part of switching to accumulating all test run data and not
storing unnecessary data like every test obj that was run and every
result obj that those tests produced.
This replaces the super-generic count method (that would count any
tests data) with data-specific count methods. These count methods
pull from the counts accumulated on the suite rather than actually
counting up objects in memory. Counts are accumulated by implementing
callbacks and incrementing counters appropriately. I chose to use
specific increment private methods for incrementing the typed
result counts to avoid having to do some conditional or some
dynamic ivar get/set.
I also added some more notes for the coming steps like moving
presentation data accumulation/handling into the view, etc.
This is part of switching to accumulating all test run data and not storing unnecessary data like every test obj that was run and every result obj that those tests produced.
This replaces the super-generic
count
method (that would count any tests data) with data-specific count methods. These count methods pull from the counts accumulated on the suite rather than actually counting up objects in memory. Counts are accumulated by implementing callbacks and incrementing counters appropriately. I chose to use specific increment private methods for incrementing the typed result counts to avoid having to do some conditional or some dynamic ivar get/set.I also added some more notes for the coming steps like moving presentation data accumulation/handling into the view, etc.
@jcredding ready for review.