Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Setup Mock Orderbook DBs for unit testing #6

Open
bh2smith opened this issue Nov 22, 2022 · 1 comment
Open

Setup Mock Orderbook DBs for unit testing #6

bh2smith opened this issue Nov 22, 2022 · 1 comment

Comments

@bh2smith
Copy link
Contributor

In #3, we introduce some tests that are actually "integration tests", however, if we want to unit test this without relying on external sources, we should prepare two DBs (barn and orderbook) -- both populated with necessary seed data.

This will be similar to what we have done here:

https://github.com/cowprotocol/solver-rewards/tree/main/tests/db

@bh2smith
Copy link
Contributor Author

bh2smith commented Dec 7, 2022

This issue belongs in solver-rewards

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

1 participant