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:
an appropriate copy constructor
a number of TrainingSession methods to be marked as const (which they should have been already).
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:
TrainingSession
methods to be marked asconst
(which they should have been already).