Open okt-kostik opened 1 month ago
Right now run can be unnamed - this is not good, it would be good to have some kind of settings that enforces named runs in the test suite. Say a setting in tester.conf?
I dislike the idea since it will enforce duplication or some dummy naming. We have really many-many cases when one script is run only once.
It would be good if we support naming sesssions
What for? It is either root session of the package (so named) or enclosed in run (so named as well).
Then the question is how do we minimize copy-paste when splitting the run.
Just use session for common params. Basically it is a purpose of the session to solve your use-case. That's it. Don't try to break structure.
The problem we're trying to solve is that we have cases where we have say
basic/foo
that has 400 iterations and it's very hard to understand the structure of the iterations.We can simplify things for the reader by using runs/sessions. However there are two problems:
People don't like naming runs
Right now run can be unnamed - this is not good, it would be good to have some kind of settings that enforces named runs in the test suite. Say a setting in tester.conf?
Sessions can't be named
It would be good if we support naming sesssions
How do we split run?
Then the question is how do we minimize copy-paste when splitting the run.
Say if we look at the netdriver:
We might group based on:
I'm not sure how exactly.
For instance:
which works for ipv4 step. For the next one it's very painful, cause we will have to split "list" into 5 runs + hardcode the name. So if there are any cool ideas...