Closed rzbrk closed 3 years ago
I know, we discussed this. But honestly, this is not easy to implement. Especially expanding ranges. I would give the implementation of the test cases priority over this feature.
With the tc_confirm setting in testing.conf
the script will ask you before executing any test case. This way, you can manually skip individual test cases. The order of test cases is determined by the name of the test case file name.
I added a whiptail multiselect with all tests preselected. To run only a single test is not nice, becouse you will have to unselect each, but it provides a nice preview of what tests are available and what is selected.
also this does not enable to change the order of the tests.
Awesome! This looks great and is very handy!
For reordering the tests we would need to have an interactive gui, e.g. with arrow buttons to move a selected testcase up or down.
I think, we can live with the current state. I cannot think of a requirement to specify an alternative sequence of testcases. All testcases are defined in a way that they are completely independent from each other.
If - for what reason ever - a specific sequence is needed this person can call ./testing.sh
multiple times and select individual tests. ;)
Great job, @Amerlander!
When executed
testing.sh
shall create a list of available test cases from the directorytestcases/
with trailing number, like:Then ask the user to specify the sequence of test cases by entering the numbers from the first column (use the bash function readarray).
Option: Expand user inputs like
8 3-6 1
to8 3 4 5 6 1
or1 4-
to1 4 5 6 7 8
or-3
to1 2 3
.