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

Create backend tests #158

Open
4 tasks
dshuffma-ibm opened this issue Oct 10, 2017 · 3 comments
Open
4 tasks

Create backend tests #158

dshuffma-ibm opened this issue Oct 10, 2017 · 3 comments

Comments

@dshuffma-ibm
Copy link
Contributor

dshuffma-ibm commented Oct 10, 2017

Create automated tests to verify the backend works appropriately.

  • run install script test
  • run instantiate script test
  • send invokes to create a marble test
  • query a marble test
@jerezereh
Copy link

Do you want to test each of these tasks individually or do you want the test to automate the installing and instantiating to test the send, create, and query tasks?

@dshuffma-ibm
Copy link
Contributor Author

dshuffma-ibm commented Oct 11, 2017

I'll accept PRs that accomplish this in pieces. Maybe I should make this an epic. I'm thinking you should be able to run each test individually, or chain them. Each of these steps is a pre-req for the next, so chaining them makes sense. ie: you won't be able to create a marble before installing + instantiating the chaincode, so calling the create marble test should call the install chaincode and instantiate test.

I guess i'm thinking of these test running on a brand new, uninitialized setup. BUT I'm open to making it run on an existing setup. If the network was already in use, you could fire the query marble test w/o running the install/instantiate/invoke tests...

Also i'll go make a contributing readme.

update CONTRIBUTING.md

@panchuprodhan
Copy link

panchuprodhan commented Oct 28, 2019

How to query the creation and transfer of the marbles in the blockchain?
Also, how to view the whole ledger?

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

No branches or pull requests

3 participants