Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add e2e tests with Starship #5

Open
Anmol1696 opened this issue Jun 15, 2023 · 0 comments · May be fixed by #6
Open

Add e2e tests with Starship #5

Anmol1696 opened this issue Jun 15, 2023 · 0 comments · May be fixed by #6

Comments

@Anmol1696
Copy link

Overview

Testing the JS client created with Telescope is currently difficult and requires alot of mocking.
We recently merged Starship integration into OsmoJS: osmosis-labs/osmojs#36

Proposal

Use Starship to spin up a mini-cosmos ecosystem with gaia and stride chain, and run some e2e test cases directly on versions of underlying chains that we want. Can choose from: https://github.com/cosmology-tech/starship/pkgs/container/starship%2Fstride

Idea here is to create a continuos testing pipeline running in the CI that will test end-to-end the working of StrideJS as various chains evolves and would be present as regression tests.
Tests are also a good way to doument code, so we will have test cases where we can mention how exactly to use the apis of StrideJS

Test Cases

We will add initial test cases for:

  • Staking
  • Gov
  • Token transfer
  • IBC transfer

Future work

Soon we can also add StrideJS specific test cases of performing the actual liquid staking txns and more.

CC: @pyramation

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

Successfully merging a pull request may close this issue.

1 participant