pcolby / bipolar

Free your data from Polar FlowSync
GNU General Public License v3.0
115 stars 16 forks source link

Parse test data only once #84

Closed pcolby closed 10 months ago

pcolby commented 6 years ago

To make the tests run faster (they are taking quite a long time to run now), it should be possible to parse all session data once (in TestTrainingSession::initTestCase) to immutable objects, then re-use those (making mutable copies where necessary) in all tests.

This would require:

pcolby commented 6 years ago

Same goes for the XSD files too. Though they don't get parsed all that many times, and won't improve the speed by much.