Add a new system for testing modules #100
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains module for auto generating tests for others modules. This tool should help us to create modules faster and without any need to copy-past all the time.
The idea of the module is that we work the same as with simple block parsing, but have opportunity to generate some tests for block or transaction in the block. It does not break the test flow that was previously implemented by @Har01d only complement it.
Also the example was provided for this module. To generate it next params were used:
php 3xpl.php 0 AG 40521139 A C 40521136 0x8544cc5773f307fe5319c2bbe1735771387d1287ed11b392d39187747b3ad569 Swhere:
All Tests will be kept in new folder
TestsTo call them in your module, you can use: