Skip to content

[framework] Simulation Tests

Ursa (9R) requested to merge ursa/simtest into develop

Resolves #1825 (closed). This is the first step in replacing smoke tests with a more maintainable and extensible approach. More details on design in the README. This initially makes the CI simulation test job optional and manually triggered on PRs, but it will run on all develop commits. Smoke tests are left in place while we ratify and phase this in, but simulation tests already cover the basics - create pools for all assets (need to fix BSC/AVAX, but smoke does not have those either), swap all pairs, and finish by ragnaroking all pools.

Next Steps:

  1. After this merges I'll continue to polish the framework and extend actors in smaller PR steps to cover major functionality - should allow reviewers to familiarize with patterns in smaller pieces
  2. Once major features are covered and this is sufficiently hardened, we can remove smoke tests
  3. I'll work on making the same simulations run on stagenet - success of the simulation will be a new release gate
  4. All PRs with Bifrost implications should include simulations for end-to-end testing, which is used in both CI and stagenet testing - this ensures the stagenet test plan is codified and encapsulated in the PR and review process

Merge request reports