octosteve/GitHub Classroom Input/Output Test
Action Used to test a given command outputs a value
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| test-name | A friendly name for the test | yes | — |
| setup-command | Optional Setup Command run before tests | no | true |
| run-command | Command to be run | yes | — |
| input-value | Argument passed as standard input to command | yes | — |
| expected-output | Expected output | yes | — |
| comparison | How to compare the values. Options are: exact, regex, and included. Defaults to included | yes | included |
| points | Points awarded if test passes | — | — |
Outputs
| name | description |
|---|---|
| result | JSON object with results |