Skip to content

Support getting dependencies info for a test#2839

Merged
krmahadevan merged 1 commit intotestng-team:masterfrom
krmahadevan:fix_893
Nov 29, 2022
Merged

Support getting dependencies info for a test#2839
krmahadevan merged 1 commit intotestng-team:masterfrom
krmahadevan:fix_893

Conversation

@krmahadevan
Copy link
Copy Markdown
Member

Closes #893

Fixes #893 .

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.

@krmahadevan krmahadevan requested a review from juherr as a code owner November 28, 2022 11:46
Copy link
Copy Markdown
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.

Except the default behavior of interfaces, everything else is awesome.

Comment thread testng-core-api/src/main/java/org/testng/IDynamicGraph.java Outdated
Comment thread testng-core/src/main/java/org/testng/internal/BaseTestMethod.java
Comment thread testng-core/src/test/java/test/dependent/DependentTest.java Outdated
@krmahadevan
Copy link
Copy Markdown
Member Author

@juherr - Fixed all the review comments, amended my commit and pushed the changes. Please help take a look.

Comment thread testng-core-api/src/main/java/org/testng/ITestNGMethod.java Outdated
Comment thread testng-core-api/src/main/java/org/testng/ITestNGMethod.java Outdated
@krmahadevan
Copy link
Copy Markdown
Member Author

@juherr - Please check now. default implementation has been flipped to throwing an exception

@krmahadevan krmahadevan requested a review from juherr November 28, 2022 12:20
Comment thread testng-core/src/main/java/org/testng/internal/BaseTestMethod.java Outdated
Comment thread testng-core/src/main/java/org/testng/internal/BaseTestMethod.java Outdated
@krmahadevan krmahadevan merged commit 563bd6d into testng-team:master Nov 29, 2022
@krmahadevan krmahadevan deleted the fix_893 branch November 29, 2022 06:20
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.

TestNG should provide an Api which allow to find all dependent of a specific test

2 participants