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

refactor bank tests #4909

Merged
merged 12 commits into from
Aug 19, 2019
Merged

refactor bank tests #4909

merged 12 commits into from
Aug 19, 2019

Conversation

colin-axner
Copy link
Contributor

#4875

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Re-reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

simapp/helpers.go Outdated Show resolved Hide resolved
x/bank/internal/keeper/integration_test.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 16, 2019

Codecov Report

Merging #4909 into master will increase coverage by 0.06%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #4909      +/-   ##
==========================================
+ Coverage   53.67%   53.73%   +0.06%     
==========================================
  Files         272      272              
  Lines       17052    17105      +53     
==========================================
+ Hits         9152     9191      +39     
- Misses       7210     7223      +13     
- Partials      690      691       +1

// genesis accounts.
func SetupWithGenesisAccounts(genAccs genaccounts.GenesisAccounts) *SimApp {
db := dbm.NewMemDB()
app := NewSimApp(log.NewTMLogger(log.NewSyncWriter(os.Stdout)), db, nil, true, 0)
Copy link
Contributor Author

@colin-axner colin-axner Aug 16, 2019

Choose a reason for hiding this comment

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

should this be a Nop logger?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is fine, right? Might be helpful to see logs from modules as we're running integration tests.

Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

LGTM

@colin-axner colin-axner mentioned this pull request Aug 16, 2019
5 tasks
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

ACK ☕️

@alexanderbez alexanderbez merged commit a697be1 into master Aug 19, 2019
@alexanderbez alexanderbez deleted the colin/4875-refactor-bank-tests branch August 19, 2019 13:29
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants