Skip to content
Snippets Groups Projects
Commit 315fac5c authored by tuhe's avatar tuhe
Browse files

updates to readme.md

parent 99f71934
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ instructor/cs101/deploy.py # A private file to deploy the tests
### The homework
The homework is just any old python code you would give to the students. For instance:
```python
{{examples_example_simplest_instructor_homework1_py}}
{{example_simplest_instructor_homework1_py}}
```
### The test:
The test consists of individual problems and a report-class. The tests themselves are just regular Unittest (we will see a slightly smarter idea in a moment). For instance:
......@@ -60,14 +60,14 @@ class Week1(unittest.TestCase):
```
A number of tests can be collected into a `Report`, which will allow us to assign points to the tests and use the more advanced features of the framework later. A complete, minimal example:
```python
{{examples_example_simplest_instructor_report1_py}}
{{example_simplest_instructor_report1_py}}
```
### Deployment
The above is all you need if you simply want to use the framework as a self-check: Students can run the code and see how well they did.
In order to begin using the framework for evaluation we need to create a bit more structure. We do that by deploying the report class as follows:
```python
{{examples_example_simplest_instructor_deploy_py}}
{{example_simplest_instructor_deploy_py}}
```
- The first line creates the `report1_grade.py` script and any additional data files needed by the tests (none in this case)
- The second line set up the students directory (remember, we have included the solutions!) and remove the students solutions. You can check the results in the students folder.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment