Skip to content
Snippets Groups Projects
Commit 41a83a7b authored by tuhe's avatar tuhe
Browse files

Updated docs to include description of Autolab

parent d62ba377
No related branches found
No related tags found
No related merge requests found
......@@ -217,26 +217,83 @@ class Week1Titles(UTestCase):
When this is run, the titles are shown as follows:
```terminal
_ _ _ _ _____ _
| | | | (_) | | __ \ | |
| | | |_ __ _| |_| | \/_ __ __ _ __| | ___
| | | | '_ \| | __| | __| '__/ _` |/ _` |/ _ \
| |_| | | | | | |_| |_\ \ | | (_| | (_| | __/
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.5, started: 16/09/2021 17:42:18
CS 101 Report 2 (use --help for options)
Question 1: Week1
* q1.1) test_add...................................................................................................PASS
* q1.2) test_reverse...............................................................................................PASS
* q1.3) test_output_capture........................................................................................PASS
* q1) Total.................................................................................................... 10/10
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.17, started: 20/09/2021 18:56:39

CS 102 Report 2 
Question 1: Week1
Question 1: Week1: 0%| | [00:00<?]

Question 1: Week1 

* q1.1) test_add: 0%| | [00:00<?]

 * q1.1) test_add...................................................................................................PASS

* q1.2) test_reverse: 0%| | [00:00<?]

 * q1.2) test_reverse...............................................................................................PASS

* q1.3) test_output_capture: 0%| | [00:00<?]

 * q1.3) test_output_capture........................................................................................PASS
 * q1) Total.................................................................................................... 10/10
 
Question 2: The same problem as before with nicer titles
Question 2: The same problem as before with nicer titles: 0%| | [00:00<?]

Question 2: The same problem as before with nicer titles 

* q2.1) Test the addition method add(a,b): 0%| | [00:00<?]

 * q2.1) Test the addition method add(a,b)..........................................................................PASS

* q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]: 0%| | [00:00<?]

 * q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]............................................................PASS
 * q2) Total...................................................................................................... 6/6
 
Total points at 18:56:39 (0 minutes, 0 seconds)....................................................................16/16

Including files in upload...
 * cs102
> Testing token file integrity...
Done!
 
Question 2: The same problem as before with nicer titles
* q2.1) Test the addition method add(a,b)..........................................................................PASS
* q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]............................................................PASS
* q2) Total...................................................................................................... 8/8
To get credit for your results, please upload the single unmodified file: 
Total points at 17:42:18 (0 minutes, 0 seconds)....................................................................18/18
> C:\Users\tuhe\Documents\unitgrade_private\examples\example_framework\instructor\cs102\Report2_handin_16_of_16.token

```
What happens behind the scenes when we set `self.title` is that the result is pre-computed on the instructors machine and cached. This means the last test will display the correct result regardless of how `reverse_list` has been implemented by the student. The titles are also shown correctly when the method is run as a unittest.
......
......@@ -3,7 +3,7 @@
| | | |_ __ _| |_| | \/_ __ __ _ __| | ___
| | | | '_ \| | __| | __| '__/ _` |/ _` |/ _ \
| |_| | | | | | |_| |_\ \ | | (_| | (_| | __/
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.17, started: 20/09/2021 18:56:39
\___/|_| |_|_|\__|\____/_| \__,_|\__,_|\___| v0.1.17, started: 20/09/2021 18:57:44

CS 102 Report 2 
Question 1: Week1 Question 1: Week1: 0%| | [00:00<?]  Question 1: Week1 
......@@ -17,7 +17,7 @@
 * q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]: 0%| | [00:00<?]   * q2.2) Checking if reverse_list([1, 2, 3]) = [3, 2, 1]............................................................PASS
 * q2) Total...................................................................................................... 6/6
 
Total points at 18:56:39 (0 minutes, 0 seconds)....................................................................16/16
Total points at 18:57:44 (0 minutes, 0 seconds)....................................................................16/16

Including files in upload...
 * cs102
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment