mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Explain how to run test cases from Intellij
This commit is contained in:
parent
fc541257ae
commit
f85ae2bb4d
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue