Skip to content

Latest commit

 

History

History
executable file
·
18 lines (14 loc) · 524 Bytes

README.md

File metadata and controls

executable file
·
18 lines (14 loc) · 524 Bytes

TestNG+Maven+fatJar

This is example project that show how to build executable jar with test and main code with Maven.

Build

mvn package

Run

java -jar target/testng-maven-1.0-SNAPSHOT-fat-tests.jar

Links

https://stackoverflow.com/a/36047816/2069783 https://github.com/trierra/testNg-maven-starter https://www.programcreek.com/java-api-examples/?code=opengeospatial/teamengine/teamengine-master/teamengine-spi/src/main/java/com/occamlab/te/spi/executors/testng/TestNGExecutor.java