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

Broken functionality of IMethodSelector.setTestMethods #2927

Open
3 of 7 tasks
kotekoder opened this issue Jun 27, 2023 · 0 comments
Open
3 of 7 tasks

Broken functionality of IMethodSelector.setTestMethods #2927

kotekoder opened this issue Jun 27, 2023 · 0 comments

Comments

@kotekoder
Copy link

kotekoder commented Jun 27, 2023

TestNG Version

7.8.0

As mentioned in javadoc IMethodSelector.setTestMethods should be called after test methods are known link

Expected behavior

IMethodSelector.setTestMethods is called after IMethodSelector.includeMethod of all test method selectors with the list of selected test methods as a parameter

Actual behavior

IMethodSelector.setTestMethods is called before any IMethodSelector.includeMethod with an empty list as parameter

Is the issue reproducible on runner?

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

Test case sample

Please, share the test case (as small as possible) which shows the issue

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.

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

1 participant