Require --suite parent.suite
to match the full suite name
#4720
Milestone
--suite parent.suite
to match the full suite name
#4720
When you use
--test parent_name.test_name
, there must be a test namedtest_name
in a suite namedparent_name
and that suite must also be the root suite. On the other hand,--suite parent_name.suite_name
works so thatparent_name
can also be a child suite. This is pretty inconsistent and needs to be changed.The reason to requite
--test parent_name.test_name
to match the full suite name is that it makes it possible to explicitly pinpoint what test to run. If the name could match also partially, it could match also tests it shouldn't. For example Pabot relies on this functionality and it cannot be changed. If a partial match is needed, it's possible to use wildcards like--test *.parent_name.test_name
.I don't remember there being any reason why
--suite parent_name.suite_name
should also support partial matches. To make--test
and--suite
behavior consistent, it ought to thus be ok to change how--suite
behaves. The change is backwards incompatible but we can do it in Robot Framework 7.0. I doubt this functionality is used so often that it should be deprecated first.The text was updated successfully, but these errors were encountered: