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

Initial backend unit tests for Skyfiber models and core #136

Closed
12 tasks done
olemis opened this issue Sep 18, 2019 · 2 comments · Fixed by #250
Closed
12 tasks done

Initial backend unit tests for Skyfiber models and core #136

olemis opened this issue Sep 18, 2019 · 2 comments · Fixed by #250
Assignees
Labels
ci Continuos Integration core Core interfaces skyfiber SkyFiber altcoin plugin
Milestone

Comments

@olemis
Copy link
Contributor

olemis commented Sep 18, 2019

Feature description

Initial unit test suite .

Is your feature request related to a problem? Please describe.
Project does not have a test suite , hence some regressions have been detected along the way but after merging a features branches into develop .

Describe the solution you'd like
An initial test suite including known vectors for SkyFiber wallets. Run it on Travis on every commit.

Additional context
This should cover the work done for

Possible implementation
Use testing together with stretchr/testify. Might need updates in ./vendor/

@olemis olemis added ci Continuos Integration core Core interfaces skyfiber SkyFiber altcoin plugin labels Sep 18, 2019
@olemis olemis added this to To do in FiberCrypto wallet - Iteration 1 via automation Sep 18, 2019
@olemis olemis added this to the 0.27.0 milestone Sep 18, 2019
@olemis olemis changed the title Initial backend unit tests Initial backend unit tests for Skyfiber models and core Sep 19, 2019
@olemis olemis moved this from To do to In progress in FiberCrypto wallet - Iteration 1 Sep 20, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Sep 24, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Sep 24, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Sep 28, 2019
…/models and fix some dependencies related to it
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Sep 28, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 6, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 6, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 6, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 7, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 7, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 7, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 8, 2019
Tests:
- TransactionFinder::AddressesActivity
- SkycoinRemoteWallet::ListWallets
- SkycoinRemoteWallet::CreateWallet
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 8, 2019
Tests:
-SkycoinRemoteWallet::IsEncrypted.
-SkycoinRemoteWallet::GetWallet.
-RemoteWallet::GenAddresses.
-RemoteWallet::GetLoadedAddresses.
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 9, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 9, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 9, 2019
e1Ru1o added a commit to simelo/fibercryptowallet that referenced this issue Oct 18, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 22, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 28, 2019
@olemis
Copy link
Contributor Author

olemis commented Oct 28, 2019

I added items for individual issues that need testing . @stdevRulo @stdevAntiD2ta pls mark issues as you complete corresponding test cases .

@olemis
Copy link
Contributor Author

olemis commented Oct 28, 2019

pls mark issues as you complete corresponding test cases .

This is for having a notion of progress

AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 28, 2019
…tRemoteWallet tests.

Tests:
- TestRemoteWalletTransfer
- TestRemoteWalletSendFromAddress
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 28, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 28, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Oct 28, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 8, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 8, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 8, 2019
olemis added a commit to simelo/fibercryptowallet that referenced this issue Nov 12, 2019
olemis added a commit that referenced this issue Nov 12, 2019
…ient_interface

Backend unit tests for Skyfiber wallet models refs #136
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 15, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 15, 2019
Upgrades:
- Fix require.Equal calls.
- Test GetBalance with a invalid ticker.
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 15, 2019
Tests:
- RemoteWallet::GetBalance.
- RemoteWallet::ScanUnspentOutputs.
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 15, 2019
Tests:
- LocalWallet::ScanUnspentOutputs
- LocalWallet::ListTransactions
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 15, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 16, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 16, 2019
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 16, 2019
…ateWallet.

Fix: Return args's index 0 instead of 1
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 16, 2019
Tests:
- RemoteWallet::Encrypt,
- RemoteWallet:Decrypt
- RemoteWallet::SetLabel
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 16, 2019
…NoError(t, err)

Changes on blockchain_test, coin_test and network_test
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 17, 2019
Change global_mock for mock in new mockSkyApi functions.
AntiD2ta added a commit to simelo/fibercryptowallet that referenced this issue Nov 17, 2019
…s TransactionsVerbose and

Functions:
- OutputsForAddresses
-TransactionsVerbose
FiberCrypto wallet - Iteration 1 automation moved this from In progress to Done Nov 18, 2019
olemis added a commit that referenced this issue Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuos Integration core Core interfaces skyfiber SkyFiber altcoin plugin
Development

Successfully merging a pull request may close this issue.

5 participants