Explain how to run test cases from Intellij

This commit is contained in:
ghubstan 2020-08-17 16:11:31 -03:00
parent fc541257ae
commit f85ae2bb4d
No known key found for this signature in database
GPG key ID: E35592D6800A861E

View file

@ -50,6 +50,13 @@ To run a single test case:
$ ./gradlew :apitest:test --tests "bisq.apitest.method.GetBalanceTest" -DrunApiTests=true $ ./gradlew :apitest:test --tests "bisq.apitest.method.GetBalanceTest" -DrunApiTests=true
To run test cases from an Intellij, add two JVM arguments to your JUnit launchers:
-DrunApiTests=true -Dlogback.configurationFile=apitest/build/resources/main/logback.xml
The `-Dlogback.configurationFile` property will prevent `logback` from printing warnings about multiple `logback.xml`
files it will find in Bisq jars `cli.jar`, `daemon.jar`, and `seednode.jar`.
## Gradle Test Reports ## Gradle Test Reports
To see detailed test results, logs, and full stack traces for test failures, open To see detailed test results, logs, and full stack traces for test failures, open