Rationale:
In our current tests we spawn each time new fresh network. This means we just have an empty network without any data, balances or cheques etc. Given the nature of the network, it is unrealistic to deterministically set up the network to the same state by performing actions on top of it. Therefore the approach would be to take a snapshot of the locally run environment and run tests against it.
This comes as an outcome from a testing discussion on April 7th 2021
Phases/TODO:
-
Local environment
-
CI job for cheques tests
-
CI job for feeds and other data
-
Replace the current test environment
- This may include restoring the state between different tests so that we have predictable environment
Rationale:
In our current tests we spawn each time new fresh network. This means we just have an empty network without any data, balances or cheques etc. Given the nature of the network, it is unrealistic to deterministically set up the network to the same state by performing actions on top of it. Therefore the approach would be to take a snapshot of the locally run environment and run tests against it.
This comes as an outcome from a testing discussion on April 7th 2021
Phases/TODO:
Local environment
CI job for cheques tests
keystoreandstatestoreof BeeCI job for feeds and other data
localstoreand use it in the CIReplace the current test environment