-
Notifications
You must be signed in to change notification settings - Fork 5
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 starship integration running vanila stride and simple e2e tests #6
base: main
Are you sure you want to change the base?
Conversation
awesome! @srph this will add end to end testing and simulate the chain so we can test messages on the real chain in a local dev environment @Anmol1696 is there anything we need to do in order to enable CI here? |
@pyramation once this is merged, CI will be enabled automatically. I have added the github workflow that will run in the gh-action runner itself. |
@srph you want to take a look? this will allow you to write tests with the StrideJS client with the latest Stride binaries, in a local environment w/o having to worry about internet or connectivity, UI, etc. here is an example of a governance test to give you an idea |
👋🏼 Hey folks, thanks for working on this. Really appreciate it. I just came back from vacation. I'll try to look into it this week - seems like there's some fire to put out as Keplr transactions stopped working at Stride due to recent upgrades. Will do my best to check this as soon as I can. |
Sounds good. No hurries here, firefighting first. |
Thanks @Anmol1696! Sorry for the late response - it's been one thing after another, but I have some time this week. I'll definitely look into this. |
Hey @Anmol1696 & @pyramation , I really appreciate all your work here. Apologies for the last response! I'm curious, do you guys have an example where Starship is used extensively for a telescope-generated library? Stride has some e2e tests which covers things from the Frontend-side, so I'm not sure if we'll get value out of this at the moment. However, I am willing to know more how Starship can become valuable for Stride in the near future. |
@srph sorry for late reply. But we have been expanding useage and capabilties of Starship. It is extensively used in Osmojs https://github.com/osmosis-labs/osmojs/tree/main/packages/osmojs/starship, and Telescope itself as well. The idea here for StrideJS is to make sure any version of Stridejs or any other libraries used for frontend testing can use Starship to spin up the underlying infra, and then have e2e tests against this a setup with multiple chains. We will also have a frontend testing support being built for MeshSecurity that might be something that could also be used for testing all sort of frontend features as well. If you already have a more comprehensive testing environment and test cases which you are satisfied by, then we can close the PR as well. If you have any features or requests for us, please let us know as well. |
@srph it's good to use for testing flows, e.g.:
then developers wanting to use Stride can look at the tests, and know how to properly do it, and you can know that your proto and amino encoders are working properly, with an integration test |
Closes: #5