Skip to content

Enabling action and TestNg version depends on the project SDK #1209

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

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

EgorkaKulikov
Copy link
Collaborator

@EgorkaKulikov EgorkaKulikov commented Oct 21, 2022

Description

Projects with JDK 8 require TestNg < 7.6.0 version
Projects with JDK 11 and higher require TestNg >= 7.6.0 version

An ability to select a version of TestNg depending on the current JDK is supported.

Fixes # (309)

Also Generate tests action is disabled for classes without source module.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

Try to generate tests with TestNg for projects with JDK8 and JDK11

@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review October 21, 2022 12:56
@EgorkaKulikov EgorkaKulikov changed the title Different versions of TestNg can be installed into project Enabling action and TestNg version depends on the project sdk Oct 21, 2022
@EgorkaKulikov EgorkaKulikov changed the title Enabling action and TestNg version depends on the project sdk Enabling action and TestNg version depends on the project SDK Oct 21, 2022
@EgorkaKulikov EgorkaKulikov merged commit 177859a into main Oct 21, 2022
@EgorkaKulikov EgorkaKulikov deleted the egor/testng_java8 branch October 21, 2022 18:06
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.

2 participants