diff options
author | Florian Dold <florian@dold.me> | 2021-01-13 00:50:56 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-13 00:50:56 +0100 |
commit | 050999a910837f8a5353b1584af2b03bd8dad93d (patch) | |
tree | 8b3611476d61be56411be4104194dddda5f6d6c2 /packages/taler-wallet-cli/src/integrationtests/testrunner.ts | |
parent | a5681579fbddb001f5b7118fe705c6643581c722 (diff) | |
download | wallet-core-050999a910837f8a5353b1584af2b03bd8dad93d.tar.xz |
implement infrastructure for future DB migrations via backup
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/testrunner.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/testrunner.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts index d9804562e..578e9488c 100644 --- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts +++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts @@ -66,12 +66,13 @@ const allTests: TestMainFunction[] = [ runMerchantLongpollingTest, runMerchantRefundApiTest, runPayAbortTest, - runPayPaidTest, runPaymentClaimTest, runPaymentFaultTest, runPaymentIdempotencyTest, runPaymentMultipleTest, + runPaymentTest, runPaymentTransientTest, + runPayPaidTest, runPaywallFlowTest, runRefundAutoTest, runRefundGoneTest, @@ -82,10 +83,9 @@ const allTests: TestMainFunction[] = [ runTimetravelWithdrawTest, runTippingTest, runWallettestingTest, + runTestWithdrawalManualTest, runWithdrawalAbortBankTest, runWithdrawalBankIntegratedTest, - runWallettestingTest, - runPaymentTest, ]; export interface TestRunSpec { @@ -166,7 +166,12 @@ export async function runTests(spec: TestRunSpec) { JSON.stringify({ testResults }, undefined, 2), ); console.log(`See ${resultsFile} for details`); + console.log(`Skipped: ${numSkip}/${numTotal}`); + console.log(`Failed: ${numFail}/${numTotal}`); console.log(`Passed: ${numPass}/${numTotal}`); + if (numPass < numTotal - numSkip) { + process.exit(1); + } } export function getTestInfo(): TestInfo[] { |