Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7 fails to find the tests when sub-suites are used #5019

Closed
realtimeprojects opened this issue Jan 15, 2024 · 1 comment
Closed

v7 fails to find the tests when sub-suites are used #5019

realtimeprojects opened this issue Jan 15, 2024 · 1 comment

Comments

@realtimeprojects
Copy link

Given the following directory layout

tests/
   suite1/
       suite11/
           test1.robot
           test2.robot
   suite2/
       test3.robot

When running the following command line:

robot ... --suite suite1 tests/

robot successfully finds and executes test1 and test2, however, when using:

robot ... --suite suite1.suite11 tests/

will fail to find the tests and produce an output

Suite 'Tests' contains no tests or tasks matching tag... in suite 'suite1.suite11'.

The following commands, however, will successfully find and run the tests:

robot ... --suite tests.suite1.suite11 tests/
robot ... --suite *.suite1.suite11 tests/

This misbehavour was introduced with Robot Framework 7.0 (Python 3.11.2 on linux) of robot framework. Using robot Robot Framework 6.1.1 (Python 3.11.2 on linux) the command above works fine.

@pekkaklarck
Copy link
Member

This behavior was changed to make --suite and -test behave consistently. For details see #4720.

@pekkaklarck pekkaklarck closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants