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

Deprecate support for running Spock Tests #2844

Closed
krmahadevan opened this issue Dec 3, 2022 · 1 comment · Fixed by #2846
Closed

Deprecate support for running Spock Tests #2844

krmahadevan opened this issue Dec 3, 2022 · 1 comment · Fixed by #2846
Milestone

Comments

@krmahadevan
Copy link
Member

TestNG Version

Note: only the latest version is supported
7.6.1

The support to run Spock tests from within TestNG should be deprecated and removed soon.
Following are the reasons behind this:

  1. TestNG currently supports only spock 1.x series (which uses the JUnit3 and JUnit4 way of executing them)
  2. TestNG does not intend to support running JUnit5 tests because JUnit5 already has an engine that is capable of running TestNG tests.
  3. Spock 2.x series now works with the JUnit5 engine and so a user can always make use of (2) to run both their TestNG tests as well as the spock tests.
@krmahadevan krmahadevan added this to the 7.6.2 milestone Dec 3, 2022
@krmahadevan
Copy link
Member Author

More context around this can be found in this and this discussion.

krmahadevan added a commit to krmahadevan/testng that referenced this issue Dec 3, 2022
krmahadevan added a commit that referenced this issue Dec 3, 2022
@krmahadevan krmahadevan modified the milestones: 7.6.2, 7.7.0 Dec 6, 2022
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 a pull request may close this issue.

1 participant