Skip to content

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

Merged
EgorkaKulikov merged 1 commit into
mainfrom
egor/testng_java8
Oct 21, 2022
Merged

Enabling action and TestNg version depends on the project SDK#1209
EgorkaKulikov merged 1 commit into
mainfrom
egor/testng_java8

Conversation

@EgorkaKulikov

@EgorkaKulikov EgorkaKulikov commented Oct 21, 2022

Copy link
Copy Markdown
Collaborator

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 Oct 21, 2022
@EgorkaKulikov EgorkaKulikov changed the title 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

2 participants