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

Automatic test value updating after test net update #26

Open
LeonardTibben opened this issue Jan 19, 2024 · 1 comment
Open

Automatic test value updating after test net update #26

LeonardTibben opened this issue Jan 19, 2024 · 1 comment
Labels
enhancement An enhancement of an existing feature

Comments

@LeonardTibben
Copy link
Contributor

Every time the test net updates, all automated tests fail because the values of the responses have changed. To fix this the json response for a specific api call could be gotten and stored. that way the tests can use these values to compare their results to.

Values from the api could be gotten with a bash script and stored in a .env file or could be gotten within the test using http.

@ejorritsma
Copy link
Contributor

Important to note that this is a necessary and helpful addition to our codebase, since the Testnet resets every quarter, plus in between if required by large updates.

https://developers.stellar.org/docs/fundamentals-and-concepts/networks

@kevin-pease kevin-pease added the enhancement An enhancement of an existing feature label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement of an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants