classroom-resources/GitHub Classroom IO Grader
A plugin for GitHub Classroom's Autograder to ensure student executables output the correct values on tests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| test-name | The unique identifier for the test. | yes | — |
| setup-command | Command to execute prior to the test, typically for environment setup or dependency installation. | no | — |
| command | Primary command to run for the test. It receives input via stdin (if provided) and its output is evaluated against `expected-output` based on the `comparison-method`. | yes | — |
| input | Data passed to the command via stdin. | no | — |
| expected-output | Expected stdout from the command. | yes | — |
| comparison-method | Method for comparing stdout. Supported values: `included`, `exact`, `regex`. | yes | — |
| timeout | Duration (in minutes) before the test is terminated. Defaults to 10 minutes with a maximum limit of 60 minutes. | no | 10 |
| max-score | The maximum amount of points a student can receive for this test. | no | — |
Outputs
| name | description |
|---|---|
| result | Outputs the result of the grader, indicating the success or failure of the test. |