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

feat: add x/nft app wiring integration tests #12220

Merged
merged 3 commits into from
Jun 10, 2022
Merged

Conversation

julienrbrt
Copy link
Member

Description

Implements part of: #12038


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@julienrbrt julienrbrt requested a review from a team as a code owner June 10, 2022 13:25
func TestIntegrationTestSuite(t *testing.T) {
cfg := network.DefaultConfig()
cfg, err := network.DefaultConfigWithAppConfig(appconfig.LoadYAML(appConfig))
Copy link
Member

Choose a reason for hiding this comment

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

We should put the app config after it's been loaded in a var that can be used by other tests in this module that need app config. Probably in an internal testutil package

Copy link
Member Author

Choose a reason for hiding this comment

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

👍🏾 added in x/nft/testutil

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #12220 (2ba7fdc) into main (7688ce6) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #12220      +/-   ##
==========================================
- Coverage   66.16%   66.13%   -0.03%     
==========================================
  Files         672      672              
  Lines       70955    70981      +26     
==========================================
  Hits        46944    46944              
- Misses      21376    21402      +26     
  Partials     2635     2635              
Impacted Files Coverage Δ
testutil/network/network.go 58.73% <0.00%> (-3.68%) ⬇️

@julienrbrt julienrbrt merged commit 8111a05 into main Jun 10, 2022
@julienrbrt julienrbrt deleted the julien/nft-app-wiring branch June 10, 2022 14:13
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
* feat: add x/nft app wiring integration tests

* updates

* feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants