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

Cucumber Tests to validate min-balance field from algod v2/Accounts/{{Account}} response #173

Closed
wants to merge 6 commits into from

Conversation

jds1g14
Copy link

@jds1g14 jds1g14 commented Apr 29, 2022

As per the issue issue 286, the testing sdk has been updated to include a test which validates the min-balance field received from algodv2 accounts call.

The test has been given an unusual tag of @accounts.min-balance so as to avoid the test case running (and failing) as part of any integration/unit test for an SDK in which this change has not been made for.

@CLAassistant
Copy link

CLAassistant commented Apr 29, 2022

CLA assistant check
All committers have signed the CLA.

@jds1g14 jds1g14 closed this Apr 29, 2022
@jds1g14 jds1g14 reopened this Apr 29, 2022
@algochoi algochoi requested a review from tzaffi May 20, 2022 14:49
Copy link
Contributor

@tzaffi tzaffi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jds1g14 for submitting this pull request. I think this is very promising.

I am asking for one change: that the test validate the min-balance is parsed correctly, not just that no error results. In doing so, a new step "the parsed Account Information response should have min-balance {min-balance}" is introduced that should parse the min-balance and assert its equality to a quantity provided in the cucumber feature.

@jds1g14 jds1g14 requested a review from tzaffi May 29, 2022 12:03
@jds1g14
Copy link
Author

jds1g14 commented Jun 29, 2022

Hey @tzaffi could you re-review when you have a minute, thanks.

@tzaffi tzaffi self-assigned this Jul 21, 2022
@gmalouf
Copy link
Contributor

gmalouf commented May 31, 2024

We have added min-balance to the indexer API spec and have regenerated the individual SDK specifications where warranted.

@gmalouf gmalouf closed this May 31, 2024
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 this pull request may close these issues.

4 participants