adoptium / adoptium/aqa-tests

Upgrade TestNG to v7.6.1

Open
#4,141 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

Currently, we use [TestNG 6.14.2](https://mvnrepository.com/artifact/org.testng/testng/6.14.2) for some of our testing. This version was released in 2018. We recently noticed a bug with `priority` annotation by using TestNG 6.14.2. (See https://github.com/eclipse-openj9/openj9/issues/16284). This issue is resolved in the latest version [TestNG 7.6.1 ](https://mvnrepository.com/artifact/org.testng/testng/7.6.1). Let's upgrade TestNG to use the latest version v7.6.1.

According to my preliminary testing, TestNG 7.6.1 needs another jar - slf4j-api-2.0.3.jar. Not sure if any other jars are needed.

https://github.com/qos-ch/slf4j
https://repo1.maven.org/maven2/org/slf4j/

Contributor guide

Open the contributing guide

Research direction

Start by locating the references to TestNG 6.14.2 and the tests that use the priority annotation. Check the dependency configuration and verify whether slf4j-api-2.0.3.jar or other jars are required, then run the affected tests with TestNG 7.6.1 and confirm they pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.