nmad_autograding
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

#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

  1. nodejs
  2. npm

Setting up the project

  1. Clone the project from github
  2. cd into the project on your system
  3. run npm install to install all the dependencies that is needed
  4. 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

Package Sidebar

Install

npm i nmad_autograding

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.72 MB

Total Files

107

Last publish

Collaborators

  • s_u_d_o