/autograder

Senior Design Project: simple command line autograder

Primary LanguagePythonMIT LicenseMIT

Documentation Status

Build Status Requirements Status Python 3.7 MIT License

Click the docs badge above for full documentation!

Autograder

Autograder is a simple, configurable tool for grading programming assignments.

Commands

  • autograder init: generates a .config directory with a skeleton config.toml file.
  • autograder testall: runs tests defined in config.toml on all projects (any subdirectories not prefixed with a .)
  • autograder test DIRECTORIES: runs tests on given list of directories

Development

Getting Set Up

  1. Install Python 3.7, pip, and pipenv.
  2. Clone the repository
  3. Run pipenv sync --dev to set up the virtual environment and install required packages.

Building

This project can be built into a standalone application using PyInstaller. The repository contains several specfiles to do so. Run pyinstaller <filename>.spec, choosing the specfile based on the targeted platform and style (onefile or onedir).