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

Regression in -groups CLA #2974

Closed
2 of 7 tasks
dr29bart opened this issue Aug 30, 2023 · 1 comment · Fixed by #2975
Closed
2 of 7 tasks

Regression in -groups CLA #2974

dr29bart opened this issue Aug 30, 2023 · 1 comment · Fixed by #2975
Milestone

Comments

@dr29bart
Copy link
Contributor

TestNG Version

7.8.0

Expected behavior

-groups runner parameter allows to override all groups defined in a suite xml file

Actual behavior

-groups runner parameter is ignored

Is the issue reproducible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

  1. There is parent xml suite which defines groups.run.include "abc" and includes child xml suite
  2. There is child xml suite which includes a test class
  3. There is a test class which has two tests: one has "abc" group and other has "xyz" group
  4. Start test run with -groups xyz

Contribution guidelines

Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.

@krmahadevan
Copy link
Member

@dr29bart - it would be easy to reproduce if you include a sample project that can recreate the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants