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

Migrate Post-7.5.x assertions #36

Open
Philzen opened this issue Jun 19, 2024 · 0 comments
Open

Migrate Post-7.5.x assertions #36

Philzen opened this issue Jun 19, 2024 · 0 comments

Comments

@Philzen
Copy link
Owner

Philzen commented Jun 19, 2024

This project's build is currently targeting java 8, which is why the gradle build will complain when using TestNG 7.6 and later (which require 11+). Need to clarify if it is OK to release with this warning while retaining general build compatibilty with Java 8.

Should this go forward so that latest TestNG dependency can be included, migrations for the following TestNg Assert.* methods need to be added:

  • assertListContains[java.util.List arg0, java.util.function.Predicate arg1, java.lang.String arg2]
  • assertListContainsObject[java.util.List arg0, T arg1, java.lang.String arg2]
  • assertListNotContains[java.util.List arg0, java.util.function.Predicate arg1, java.lang.String arg2]
  • assertListNotContainsObject[java.util.List arg0, T arg1, java.lang.String arg2]
  • assertThrows[java.lang.String arg0, java.lang.Class arg1, org.testng.- [ ] assert$ThrowingRunnable arg2]
  • expectThrows[java.lang.String arg0, java.lang.Class arg1, org.testng.- [ ] assert$ThrowingRunnable arg2]
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