elrond-sdk-erdpy
elrond-sdk-erdpy copied to clipboard
Modify contract test command to use sc-meta
mxpy does not take care of vmtools
anymore. The vmtools
dependency has been removed.
Now, mxpy simply forwards the arguments to sc-meta
. When calling mxpy contract test
, the sc-meta test
command is invoked. One could also use directly sc-meta test
since sc-meta
is installed when calling mxpy deps install rust
.
The parameters have been changed to match the parameters needed by sc-meta
.
mxpy contract test
now uses the following parameters:
--path PATH the directory of the contract (default: cwd)
--go this arg runs rust and go tests (default: false)
--scen this arg runs scenarios (default: false). If `--scen` and `--go` are both specified, scen overrides the go argument
--nocapture this arg prints the entire output of the vm (default: false)