actions-marketplace-validations/JS & TS Solidity Unit Tests Action
Runs unit testing on solidity contracts
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| test-path | Path to file or directory containing all test files | yes | — |
| contract-path | Path to file or directory containing all solidity smart contracts | yes | — |
| compiler-version | set compiler version (e.g: 0.6.1, 0.7.1 etc) | no | — |
| evm-version | set evm version (e.g: istanbul, berlin etc) | no | — |
| optimize | set optimize (e.g: true, false) | no | false |
| optimizer-runs | set optimizer runs (e.g: 200) | no | 0 |
| node-url | set node url (e.g: https://mainnet.infura.io/v3/your-api-key) | no | — |
| block-number | set block number (e.g: 123456) | no | latest |
| hard-fork | set hard fork (e.g: istanbul, berlin etc. See full list of hard forks here: https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/common/src/hardforks) | no | — |
Outputs
| name | description |
|---|---|
| time | The time the test suite ran |