A package to autograde
Project description
autograding
Autograder and custommagics for python
How to run
conda create -n autograding_env
conda init
conda activate autograding_env
pip install -r requirements.txt
python main.py
How to make unittest
Example:
from autograde_module import ExtendTestCase # Adds extra tests
"""
Student code can be accessed using the module student which is dynamically import by the autograder.
Do not add the code "import student"
"""
class Test1Basics(ExtendTestCase):
def test_add(self):
self.assertEqual(3+5, student.add(3, 5))
Make sure that in the assignment .yml file contains:
- SUITES_AND_UNITTESTS
- Where the first input is the name of the unittest without "unit_test_"
- And the second input is the number of unittests
- The name of the unittest must be unique within each assignments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liacs_autograder-1.0.0.tar.gz
(17.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file liacs_autograder-1.0.0.tar.gz.
File metadata
- Download URL: liacs_autograder-1.0.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e55d0b0f5e52688a70bdf085c6bc0743cf7477542b6a73a52110f5c2a5bea7b
|
|
| MD5 |
ebf58d8d7cee95b8300aec3139e4d23f
|
|
| BLAKE2b-256 |
b81b5be4721f28e5e2c439eab675d22dfb9c6c79f387711b42c8fed7c413bfc1
|
File details
Details for the file LIACS_Autograder-1.0.0-py3-none-any.whl.
File metadata
- Download URL: LIACS_Autograder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30bc472eff3a1b9cff5827cdf12cb7a41b54a319a15afb908036f5443f012f9e
|
|
| MD5 |
93278d2b47e9d84325bc39ba3f1fb365
|
|
| BLAKE2b-256 |
cc2058a4cad33ca22e2371e6199341886988d995bf8ddb565c0c52aaccd78e09
|