Open Serhiy1 opened 2 years ago
So the problem is that the tag is not seen? Has this worked before? I think dynamic tags currently do not work in general because they can not be analysed before execution.
Yeah, as I understand, the problem is that the tag is not seen. I haven't tested it on any other versions of pabot, but If this kind of behaviour were not considered in the design of pabot, I would wager that the pre-run modifier wouldn't work with any version.
However, the pre-run modifier does work with vanilla robot, and I think the use case I presented to need this capability is not unreasonable.
This applies to when we use "--test" flag as well. Pre run modifiers assist a lot in setting up things globally before executions are done (certain things can't be put in suite setups). Can this be fixed in any of the future releases as it is breaking our scripts when we run in parallel with test flag enabled?
I have a pre-run modifier that adds empty test stubs to all suites, so I can automatically exercise the suite setups.
As you can see, the test case does not exist until the pre-run modifier is run.
Directly running from robot, the test cases are successfully identified and run
Running with pabot is another story, as it fails to find any tests