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
Gear test lib #606
Gear test lib #606
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome as an MVP but needs to be reviewed while adopting.
…into dn-gear-test-lib
…into dn-gear-test-lib
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a very handy tool that allows for total testing of the smart contract logic.
You can easily initialize the programs, send the messages and check the execution result in the log. The log can be checked for a specific message generated by the program execution and that's great since there may be several messages and it may be necessary to check not the last message, but some message that occurred during the program execution.
The tool makes it possible to increase the blockchain time and thus test the time-dependent logic in smart contracts. It also includes a helpful feature like creating mock contracts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent!
this looks like it worth putting as release notes @breathx |
Resolves #577. Closes #570 and closes #571 as not actual, because they're implemented in the lib.
Release Notes: It is a very handy tool that allows for total testing of the smart contract logic.
You can easily initialize the programs, send the messages and check the execution result in the log. The log can be checked for a specific message generated by the program execution and that's great since there may be several messages and it may be necessary to check not the last message, but some message that occurred during the program execution.
The tool makes it possible to increase the blockchain time and thus test the time-dependent logic in smart contracts. It also includes a helpful feature like creating mock contracts.