Usage¶
Commands¶
autograder init: generates a.configdirectory with a skeletonconfig.tomlfile.autograder testall: runs tests defined inconfig.tomlon all projects (any subdirectories not prefixed with a.)autograder test DIRECTORIES: runs tests on given list of directories
Directory structure¶
The script looks for .config subdirectory, and will attempt to grade
any subdirectories not prefixed with a .
working_directory
├── .config
├── config.toml
├── {necessary files}
├── {student_submissions}
Workflow¶
- Gather all student submissions in a common directory, such that each submission is a subdirectory.
- Run
autograder initto generate a.config/directory. - Edit
.config/config.tomlas necessary to define environment and tests (see Configuration for more details. - Use
autograder testallto run defined tests against all projects. - Results with be collected in the
.results/directory.