nmad_autograding
v1.0.2
Published
This is use to autograde code submissions
Downloads
3
Maintainers
Readme
#NMAD/autogradejson
Overview
This is a standalone application build in typescript allows you to autograde student assignments. The application is built with decouple designs in mind so that you can use this to validate or run commands on any type of system. Furthermore, you can also run this application by supply a .json file with the test cases in an array
Requirements
- nodejs
- npm
Setting up the project
- Clone the project from github
- cd into the project on your system
- run npm install to install all the dependencies that is needed
- Create a test case in the format
{
"tests":[
{
"name": "<name of test>",
"run": "<command to execute>",
"timeout": 10,
"points": 5,
"inputs":["optional"],
"outputs": [
{
"expected": "<expected>",
"comparison": "included",
}
}
]
}
#TODO
Finish the rest of the readme... nobody like this lol