apollodao / cw-dex

CosmWasm abstractions for decentralized exchanges.
Mozilla Public License 2.0
5 stars 4 forks source link

Add integration-test using testcontainers #89

Closed apollo-pablo closed 1 year ago

apollo-pablo commented 1 year ago

Problem

We need to do some integration test on pseudo real chain ( not mock ). We will use testcontainer and the integration-test-framework

Tasks

apollo-sturdy commented 1 year ago

There are some issues with this. Mainly that we can't reuse the same tests for the bindings and testcontainers. If we want to do this we should write a macro so we don't have to copy-paste all of the tests. We should also set up the CI so that the tests against testcontainers only run on merge to master and not on every PR into develop, since the tests against testcontainers take a lot of time.