A decentralized bitcoin exchange network
Go to file
ghubstan bf584c218f
Move test cases into subproject test sources
This change reorganizes the ':apitest' subproject to conform to a
typical gradle project, where all JUnit test cases are located in
the subproject's test sources folder.  This makes running tests
from an IDE or gradle command line interface work as expected.
It will also help keep Travis CI configuration simple.

To avoid interfering in normal builds, the gradle ':apitest test' task
is disable by default;  API tests will only run when a '-Dforce-true'
system property is passed to gradle.

To run API tests, run a normal build and install dao-setup files:

    ./gradlew clean build :apitest:installDaoSetup

Then run the tests:

    ./gradlew :apitest:test -Dforce=true

Try to avoid adding the '-Dforce=true' property to any other gradle
tasks, because this enables the ':apitest test' task, and would kick
off API tests before a normal build completed.

The build.gradle file was modified to support this code reorg, and
the 'org.junit.jupiter' dependendency was upgraded to v5.6.2 -- only
in the ':apitest:test' dependency definiitions, not anywhere else in
the bisq dependency definitions.  The upgrade is necessary for
running ordered tests.

Since the scaffolding may be set up from either test cases (under the
test src folder), or a class under the main src folder, some changes
were made to ensure configuration paths are correct for either use
case.  For example, when the 'bisq-apitest' script is run from the root
project directory, the current working directory is the root project
directory.  When gradle or an IDE is used to run @Test cases, the
current working directory is :apitest subproject directory.

The main source's ApiTestMain class has been stripped down, and exists
only to keep the gradle build happy -- it needs a 'mainClassName'
property.  But this main driver does have uses.  See the class comments.

The other changes in this commit were made to fix style and syntax
problems.
2020-07-19 16:31:46 -03:00
.github Protect priority issues from stale bot 2020-02-18 12:35:53 +01:00
.idea Rename :protodefintion subproject to :proto 2020-03-26 17:37:37 +01:00
apitest Move test cases into subproject test sources 2020-07-19 16:31:46 -03:00
assets/src Add test for Liquid Bitcoin and improve error handling 2020-02-11 17:31:43 +01:00
cli Remove final modifier 2020-07-17 17:13:45 -03:00
common/src Merge pull request #4347 from sqrrm/deposit-improvements 2020-07-03 21:20:27 +02:00
core Merge pull request #4357 from ripcurlx/update-data-stores-for-v1.3.6 2020-07-08 15:43:05 +02:00
daemon/src/main Remove unused import 2020-05-18 14:11:50 +02:00
desktop Merge pull request #4358 from jmacxx/fix_transactions_csv 2020-07-08 14:33:07 +02:00
docs Add link to scripts 2020-06-15 12:01:21 +00:00
gradle Merge pull request #4028 from freimair/tor_0.4.2.6 2020-03-31 16:04:13 +02:00
monitor Set expiry date to +years 2020-03-31 17:10:26 +02:00
p2p/src Update data stores for v1.3.6 2020-07-07 15:56:06 +02:00
pricenode Fix command shown in README used to install collectd service 2020-06-17 22:35:02 -07:00
proto/src/main/proto Add TraderSignedWitnessMessage 2020-07-03 18:14:10 +02:00
relay Revert to SNAPSHOT version 2020-06-23 15:32:57 +02:00
scripts Add shell script for creating DAO genesis transaction 2019-06-24 13:15:37 -07:00
seednode Merge pull request #4319 from devinbileck/update-install-scripts 2020-06-25 13:56:31 +02:00
statsnode/src/main Remove now unused BisqExecutable option handling 2020-01-20 16:46:56 +01:00
.editorconfig Do not strip trailing whitespace in Git diffs 2020-01-10 19:48:26 +01:00
.gitattributes Track p2p data store files using Git LFS 2020-04-29 12:10:11 +02:00
.gitignore Ignore Structure101 Workspace files 2020-01-10 19:48:26 +01:00
.travis.yml Track p2p data store files using Git LFS 2020-04-29 12:10:11 +02:00
build.gradle Move test cases into subproject test sources 2020-07-19 16:31:46 -03:00
CODEOWNERS Remove @cbeams as build and pricenode code owner 2020-06-28 11:23:36 +02:00
CONTRIBUTING.md Link to project management process 2020-06-17 13:24:18 +02:00
gradle.properties Increase Gradle HTTP timeouts from 30 => 120 seconds 2018-03-22 10:39:52 +01:00
gradlew Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
gradlew.bat Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
LICENSE add basic wallet, update nav buttons, move unused img 2014-04-24 16:55:55 +02:00
Makefile Add 'make undeploy' target to kill all running nodes 2019-12-03 12:04:39 +01:00
pull_request_template.md Added a Pull Request template 2019-11-27 13:46:54 +01:00
README.md jdk10 is no longer needed to build and run the test suite 2019-08-14 18:11:57 +02:00
settings.gradle Add subproject :apitest to gradle build file 2020-07-09 16:15:29 -03:00

Bisq

Build Status

What is Bisq?

Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other digital assets. Bisq uses peer-to-peer networking and multi-signature escrow to facilitate trading without a third party. Bisq is non-custodial and incorporates a human arbitration system to resolve disputes.

To learn more, see the doc and video at https://bisq.network/intro.

Get started using Bisq

Follow the step-by-step instructions at https://bisq.network/get-started.

Contribute to Bisq

See CONTRIBUTING.md and the developer docs.