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

Remove deprecated JUnit related support in TestNG #3023

Merged

Conversation

krmahadevan
Copy link
Member

Closes #3022

Fixes #3022 .

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
Copy link
Member Author

@juherr
I would perhaps want to merge this maybe after some more time (maybe after a couple of weeks) so that in-case we need to do a bugfix release for 7.9.0 we could do that without this changeset creeping in.

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.

Lgtm but remove junit reference from dtd 1.1

@krmahadevan
Copy link
Member Author

Lgtm but remove junit reference from dtd 1.1

Took care of this as well. Once you have approved after review, I will continue to keep this PR open and rebased so that it can be merged at a later point in time (Perhaps 2nd or 3rd week of Jan).

@krmahadevan krmahadevan force-pushed the remove_deprecated_junit_support branch from d1d73ee to d5f26b9 Compare January 5, 2024 05:10
@@ -545,11 +540,6 @@ private List<XmlSuite> createCommandLineSuitesForClasses(Class[] classes) {
if (test != null) {
suiteName = defaultIfStringEmpty(test.getSuiteName(), suiteName);
testName = defaultIfStringEmpty(test.getTestName(), testName);
} else {
if (m_isMixed && JUnitTestFinder.isJUnitTest(c)) {
isJUnit = true;
Copy link
Member

Choose a reason for hiding this comment

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

isJUnit declaration should be removed too

@krmahadevan krmahadevan merged commit 93223f6 into testng-team:master Jan 21, 2024
7 of 9 checks passed
@krmahadevan krmahadevan deleted the remove_deprecated_junit_support branch January 21, 2024 05:39
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.

Remove deprecated JUnit related support in TestNG
2 participants