Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Change integration tests to use Mocks #174

Open
kwek20 opened this issue May 30, 2019 · 2 comments
Open

Change integration tests to use Mocks #174

kwek20 opened this issue May 30, 2019 · 2 comments

Comments

@kwek20
Copy link
Contributor

kwek20 commented May 30, 2019

Currently our integration tests are very fragile since they run on a live network.

Tests are susceptible to running to fast -> no confirmed balance
or someone spends the balance on a test seed, causing the test to break.

All tests should be running on an offline connection using Mockito mocks.

@chrisdukakis
Copy link

I'm actually considering to rewrite account tests as e2e. I think we could pass random seeds as encrypted env vars.

@kwek20
Copy link
Contributor Author

kwek20 commented Jun 1, 2019

Yea that would work, but i still think I need some integration tests before running regression, which mocks would do

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants