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

baseapp test coverage not enough #556

Closed
1 of 3 tasks
ebuchman opened this issue Mar 3, 2018 · 6 comments · Fixed by #3468
Closed
1 of 3 tasks

baseapp test coverage not enough #556

ebuchman opened this issue Mar 3, 2018 · 6 comments · Fixed by #3468

Comments

@ebuchman
Copy link
Member

ebuchman commented Mar 3, 2018

@ValarDragon
Copy link
Contributor

For getting test coverage to 100%, how should CheckTx be checked? In the tests that are currently there, and the ones I wrote in the PR, its using Check not the direct CheckTx method.

@ValarDragon
Copy link
Contributor

The parts that remain untested:
run forever in helpers.go

TraceKVStore functionality
RegisterCodespace
MountStoreWithDB
LoadVersion errors
Baseapp.NewContext
Filter errors
Bad query paths
Version queries

@alexanderbez
Copy link
Contributor

Thanks for aggregating this @ValarDragon

@jackzampolin jackzampolin changed the title baseapp: missing tests baseapp test coverage not enough Oct 12, 2018
@jackzampolin jackzampolin removed this from the 100% Test Coverage milestone Jan 28, 2019
@cwgoes cwgoes modified the milestones: v0.32.0, v0.31.0 (Launch RC) Jan 29, 2019
@cwgoes cwgoes assigned cwgoes and unassigned cwgoes Jan 30, 2019
@alexanderbez
Copy link
Contributor

Is this more or less a dup of #3259 @jackzampolin @cwgoes? Can we consolidate into a single issue?

@cwgoes
Copy link
Contributor

cwgoes commented Jan 31, 2019

I think we could combine #3259 into this, but I don't think all of #556 (comment) are tested yet.

@alexanderbez
Copy link
Contributor

OK, I shall tackle both in a single PR then.

@alexanderbez alexanderbez self-assigned this Jan 31, 2019
chillyvee pushed a commit to chillyvee/cosmos-sdk that referenced this issue Mar 1, 2024
MSalopek pushed a commit to MSalopek/cosmos-sdk that referenced this issue Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants