-
Notifications
You must be signed in to change notification settings - Fork 1k
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
By EasonYi: #2248
base: master
Are you sure you want to change the base?
By EasonYi: #2248
Conversation
New: Allow the same method in one class for more than one time New: Allow the same class in one test for more than one time New: Upgrade to Java 8 Fixed: Adjust the default parallel mode of SuiteRunner to TESTS Fixed: Wrong implementation about parameters overriding Notice: Since a lot of things have been changed, but only XML style was tested, that is JUnit and others are NOT tested by now, and you can find the tests in src/test/java/test/duplicate directory
@EasonYi - Couple of things.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the change but I agree with @krmahadevan : could you propose one pull request by subject?
(edited after @krmahadevan comment)
@juherr -
TestNG |
@krmahadevan oops :D I didn't remember and the site (and gradle) is not up-to-date :p |
You mean in this page : https://testng.org/doc/
|
@krmahadevan yes |
@krmahadevan - Thank you for your comments! I've made this PR based on 6.14.3 version, and the most changes are about the feature which allowing the same method in one class for more than one time and the same class in one test for more than one time, which is helpful when we want to make a complex test with the TestNG XML file. Since the change need the "default implementation of interface" which is available on Java 8, so I changed the source level to it, maybe the target level can still remain Java 7. And the following changes are very small.
|
After that we have gone through 2 more releases. So you would need to help rebase your changes off of
Can you please create an issue and include details in terms of what the problem is, along with a sample. That way when we send out release notes, we can give our users some context into the sort of changes that are going in.
TestNG moved to using JDK8 as the minimum JDK as of TestNG
Sure. But from a review point, it would be really helpful to us, if you can restrict a PR to just one issue. So for the above two issues, you could raise a separate PR and we can have it reviewed and merged. The more small and focussed a changeset is, the more easier it is to reason with it and get it merged. Hope that adds some clarity to my ask. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a nutshell, request you to please help do the following:
- Rebase off of master to fix the merge conflicts.
- Break this PR into 3 PRs (since we are addressing 3 different issues in this one PR)
Thank you! |
New: Allow the same method in one class for more than one time
New: Allow the same class in one test for more than one time
New: Upgrade to Java 8
Fixed: Adjust the default parallel mode of SuiteRunner to TESTS
Fixed: Wrong implementation about parameters overriding
Notice: Since a lot of things have been changed, but only XML style was tested, that is JUnit and others are NOT tested by now, and you can find the tests in src/test/java/test/duplicate directory
Fixes # .
Did you remember to?
CHANGES.txt
We encourage pull requests that:
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.