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

GITHUB-2888 - don't fail test with dataProvider if skipped #2889

Merged
merged 2 commits into from
Mar 23, 2023

Conversation

jmoreira18
Copy link
Contributor

Fixes #2888

If you want to create a listener that would skip a DataProvider in case a Test will be skipped, the Test was marked as FAILED, instead of SKIPPED

Did you remember to?

  • Add test case(s)
  • Update CHANGES.txt
  • Auto applied styling via ./gradlew autostyleApply

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

Note: For more information on contribution guidelines please make sure you refer our Contributing section for detailed set of steps.

Copy link
Member

@juherr juherr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank for the contribution 👍

@jmoreira18 jmoreira18 requested review from juherr and removed request for krmahadevan March 22, 2023 17:09
@krmahadevan krmahadevan merged commit ff5843a into testng-team:master Mar 23, 2023
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

Successfully merging this pull request may close these issues.

Skipped Tests with DataProvider appear as failed
3 participants