cic-internal-integration/apps/cic-ussd/tests/integration
2021-08-06 16:29:01 +00:00
..
ext Philip/management integration tests 2021-06-03 13:40:51 +00:00
README.md The great bump 2021-08-06 16:29:01 +00:00
run.sh The great bump 2021-08-06 16:29:01 +00:00
test_account_creation.tavern.yaml The great bump 2021-08-06 16:29:01 +00:00
test_account_management.tavern.yaml The great bump 2021-08-06 16:29:01 +00:00
test_profile_management.tavern.yaml Philip/refactor integration tests 2021-06-30 14:27:56 +00:00
test_transactions.tavern.yaml Philip/refactor integration tests 2021-06-30 14:27:56 +00:00

INTEGRATION TESTING

This folder contains integration tests.

OVERVIEW

There are four files defining the integration tests.

  • test_account_creation: Tests account sign up process.
  • test_transactions: Tests transactions between two accounts.
  • test_profile_management: Tests that account metadata can be edited.
  • test_account_management: Tests that account management functionalities are intact.

REQUIREMENTS

In order to run the transaction tests, please ensure that the faucet amount is set to a non-zero value, ideally 50000000 which is the value set in the config file config/test/integration.ini.

This implies setting the DEV_FAUCET_AMOUNT to a non-zero value before bringing up the contract-migration image:

export DEV_FAUCET_AMOUNT=50000000
RUN_MASK=1 docker-compose up contract-migration
RUN_MASK=2 docker-compose up contract-migration