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

refs #279 Improve coverage #304

Merged
merged 104 commits into from
Jan 23, 2020

Conversation

e1Ru1o
Copy link
Contributor

@e1Ru1o e1Ru1o commented Dec 30, 2019

refs #279

Changes:

  • Add more tests mainly related with files not covered by the actual testsuit
  • Aggregate test coverage data correctly so as to include multiple packages in HTML reports

Does this change need to mentioned in CHANGELOG.md?
no

Requires testing
no

@e1Ru1o e1Ru1o self-assigned this Dec 30, 2019
@e1Ru1o e1Ru1o added ci Continuos Integration stdev wip Work in progress labels Dec 30, 2019
@e1Ru1o e1Ru1o added this to In progress in FiberCrypto wallet - Iteration 1 via automation Dec 30, 2019
@e1Ru1o e1Ru1o added this to the 0.27.0 milestone Dec 30, 2019
@e1Ru1o e1Ru1o requested a review from olemis December 30, 2019 05:28
e1Ru1o and others added 8 commits December 30, 2019 14:08
Changes:
-   `SkycoinUninjectedTransaction.ComputeFee(...)` method report invalid ticker error when the ticker in not supported
- 
  `SkycoinCreatedTransactionInput.GetSpentOutput()` was calling `GetCoin(...)` with an invalid argument, know use the correct one
-   `TestWalletsListAssets` modified
Copy link
Contributor

@olemis olemis left a comment

Choose a reason for hiding this comment

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

needs more simple tests added

  modified:   src/coin/mocks/Address.go
  modified:   src/coin/mocks/AltcoinPlugin.go
  new file:   src/coin/mocks/PubKey.go
  new file:   src/coin/mocks/SecKey.go
  modified:   src/coin/mocks/WalletSet.go
e1Ru1o and others added 27 commits January 18, 2020 19:01
-  `TestSeedServiceGenerateMnemonic`
-  `TestSeedServiceVerifyMnemonic`
…estWalletFunctions`

Changes:
-   Test `RemoteWallet` functions too
Changes:
-   Include `Params` verification
-   Include `LoadSignService` method test
… and `TestSkyFiberPluginSecKeyFromBytes`
more internal paths covered by tests
…tion and use `mockery` to generate it instead
@olemis olemis changed the title Fixes #279 Improve coverage refs #279 Improve coverage Jan 23, 2020
@olemis olemis merged commit 291b8d7 into fibercrypto:develop Jan 23, 2020
FiberCrypto wallet - Iteration 1 automation moved this from In progress to Done Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuos Integration stdev wip Work in progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants