...
Command output and template variables, support for both integration testing and command line tools.
Use arbitrary addresses in integration tests for testing.
Enhanced integration testing capabilities of
fork
mode, developers can test locally based on a certain high state of the mainnet or testnet.Added
package
anddeploy
integration testing support to facilitate integration testing through two-phase upgrades and DAO upgrades.
Detailed description and usage scenarios
mpm integration-test
1. Command output and template variables
For instructions with output results (such as faucet, call, call-api, etc.), the output results will be saved in the running environment, and subsequent instructions can obtain these results, and use template variables to use some fields in the results as follow-up the input parameters of the instruction.
This feature can meet the requirement that some tests need to rely on the output result of the pre-order command as the input parameter.