iobroker/ioBroker Testing: Adapter tests
Run optional unit tests and adapter integration tests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Node.js version | yes | — |
| install-command | Overwrite the default install command | — | npm ci |
| engine-strict | Set to false to ignore engine requirements | — | true |
| package-cache | Define which package manager to use for dependency caching. Set to 'false' to disable caching. | — | npm |
| os | The operation system to use | yes | — |
| build | Set to true when the adapter needs a build step before testing | — | false |
| build-command | Overwrite the default build command | — | npm run build |
| extra-tests | Add an additional command to run before the built-in tests | — | false |
| unit-test-check-pattern | The pattern to check for existence of the unit test command | — | test:unit |
| unit-test-command | Overwrite the default unit test command | — | npm run test:unit |
| integration-test-command | Overwrite the default integration test command | — | npm run test:integration |
| screenshots-path | Optional path to screenshots that must be saved as archive | — | "" |
Outputs
no outputs