With basic AUnit it is necessary to write a new test for each test. This can be quite cumbersome when tests only differentiate in the input and expected values. Because of this many unit test frameworks allow for parameterised tests.
With AdaCL 6.0.0 it is now possible to register tests with parameter:
T.Parameter.Register_Routine (T, Test_To_Image_01'Access, "REPEAT_24", "0024:00:00.0", To_I (0024, 00, 00.0), "0024:00:00.0");
T.Parameter.Register_Routine (T, Test_To_Image_01'Access, "REPEAT'First", "0000:00:01.0", To_I (0000, 00, 10.0), "0000:00:10.0");
T.Parameter.Register_Routine (T, Test_To_Image_01'Access, "REPEAT'Last", "9999:59:59.9", To_I (9999, 59, 59.9), "9999:59:59.9");
This makes setting up test sets off similar tests much easier. For more details see: AdaCL.Test_Cases.Parameters and download with Alire.