etherlime coverage [path] [timeout] [port] [solcVersion][workingDirectory] [html] [ignoreFiles]
coverage command copy all test files from test directory to
.coverage_tests temporary directory
coverage command copy all contract files from contract directory to
.coverage_contracts temporary directory
All contract files are builded without optimization from temporary directory and saved to
All test files are run,
coverage folder is created with the result and all temporary directories are deleted.
path - [Optional] By specifying
path you can set a path to a
selected directory or you can set the path directly to the
timeout - [Optional] This parameter defines the test timeout in
milliseconds. Defaults to 2000 ms.
port - [Optional] The port to run the solidity coverage testrpc
(compatible with etherlime ganache deployer). Default: 8545.
solcVersion - [Optional] By specifying
solcVersion you can
choose a specific solc version to be used for compilation and
workingDirectory - [Optional] Defines the folder to use for
reading contracts from, instead of the default one: ./contracts
html - [Optional] By specifying
html you can choose either to
open automatically with you default browser the html coverage report
./coverage. Defaults to
ignoreFiles - [Optional] By specifying
ignoreFiles you can set files
that would be omitted in coverage report. List them separated with comma. By
default all files imported from `./node-modules' are ignored.