You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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:
Future work
Soon we can also add StrideJS specific test cases of performing the actual liquid staking txns and more.
CC: @pyramation
The text was updated successfully, but these errors were encountered: