Skip to content

Commit c0949dd

Browse files
committed
Add makefile organization for all payjoin tests
Due to the nature of the tests it might be required that the test wallets have some more funds than necessary for a single test flow assuming the transaction is not mined before the next test commences.
1 parent ee3b219 commit c0949dd

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

makefile

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: all setup clean deps build-runner translations hooks ios-pod-update drift-migrations devcontainer docker-build apk verify test unit-test integration-test fvm-check
1+
.PHONY: all setup clean deps build-runner translations hooks ios-pod-update drift-migrations devcontainer docker-build apk verify test unit-test integration-test payjoin-test payjoin-cli-receive-test payjoin-cli-send-test fvm-check
22

33
fvm-check:
44
@echo "🔍 Checking FVM"
@@ -115,3 +115,17 @@ unit-test:
115115
integration-test:
116116
@echo "🧪 integration tests"
117117
@fvm flutter test integration_test/ --reporter=compact
118+
119+
payjoin-test: payjoin-internal-test payjoin-cli-receive-test payjoin-cli-send-test
120+
121+
payjoin-internal-test:
122+
@echo "🧪 internal payjoin integration test"
123+
@fvm flutter test integration_test/payjoin_test.dart --dart-define-from-file=.env --reporter=compact
124+
125+
payjoin-cli-receive-test:
126+
@echo "🧪 payjoin-cli receiver <-> mobile sender"
127+
@bash scripts/payjoin_cli_receive_test.sh
128+
129+
payjoin-cli-send-test:
130+
@echo "🧪 payjoin-cli sender <-> mobile receiver"
131+
@bash scripts/payjoin_cli_send_test.sh

0 commit comments

Comments
 (0)