This project shows how to test an API using Junit Jupiter and a third-party library juice-webclient
gradle test
gradle test --tests ${testName}
where:
${testName}
is the test name you want to execute
mvn test
mvn test -Dtest ${testName}
export ARTIFACTORY_USER=${username}
export ARTIFACTORY_PASSWORD=${password}
If you are using Windows based platform:
$Env:ARTIFACTORY_USER="${username}"
$Env:ARTIFACTORY_PASSWORD="${password}"
where:
${username}
Is artifactory username${password}
Is artifactory password
Note: If you want to have the Jfrog username and password, feel free to drop me a message on my home page website and ask for Jfrog credentials.
gradle jacocoTestReport sonarqube test
Note: This project requires juice-webclient as a dependency
Visit our wiki page: Wiki page