You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- text: If you have not already done so, please complete the survey on <a href="https://www.sqrlab.ca/">LimeSurvey</a>
2
+
- text: If you have not already done so, please complete the survey on <a href="https://www.sqrlab.ca/survey/index.php?r=survey/index&sid=896941&lang=en">LimeSurvey</a>
- description: "Sample Task - Statement Coverage: This task is a sample for reference only to show what a basic Python unit test using pytest looks like.\n\nStatement Coverage: Causes every statement in the program to be executed at least once, giving us confidence that every statement is at least capable of executing correctly.\n\nSystem: Make a test case for each statement in the program, independent of the others.\n\nCompletion criterion: A test case for every statement.\n\nNote: You only need to do statement coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import print_error.py and pytest."
3
-
id: sample_statement_coverage
4
-
name: "Statement Coverage Sample"
5
-
focusFileId: "statement_coverage_sample"
6
-
files:
7
-
- filename: "test_sample"
8
-
sourceSet: "SRC"
9
-
templateFile: "test_sample"
10
-
extension: PYTHON
11
-
id: "test_sample_file"
12
-
- filename: "sample"
13
-
sourceSet: "SRC"
14
-
templateFile: "sample"
15
-
extension: PYTHON
16
-
id: "sample"
17
-
openAllFiles: true
18
-
- description: "Statement Coverage: Causes every statement in the program to be executed at least once, giving us confidence that every statement is at least capable of executing correctly.\n\nSystem: Make a test case for each statement in the program, independent of the others.\n\nCompletion criterion: A test case for every statement.\n\nNote: You only need to do statement coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import print_error.py and pytest."
- description: "Statement Coverage: Causes every statement in the program to be executed at least once, giving us confidence that every statement is at least capable of executing correctly.\n\nSystem: Make a test case for each statement in the program, independent of the others.\n\nCompletion criterion: A test case for every statement.\n\nNote: You only need to do statement coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import read.py and pytest."
35
-
id: read_statement_coverage
36
-
name: "Read Statement Coverage"
37
-
focusFileId: "read_statement_coverage_file"
3
+
- description: "Complete the task using the instructions on LimeSurvey. The task file will be under tasktracker/python/MagicSquare/src. /n/n After completing the task, and submitting the files on LimeSurvey, click next. Statement Coverage: Causes every statement in the program to be executed at least once, giving us confidence that every statement is at least capable of executing correctly.\n\nSystem: Make a test case for each statement in the program, independent of the others.\n\nCompletion criterion: A test case for every statement.\n\nNote: You only need to do statement coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import print_error.py and pytest."
4
+
id: statement_coverage
5
+
name: "Calculate GPA Statement Coverage"
6
+
focusFileId: "test_calculate_gpa"
38
7
files:
39
-
- filename: "test_read_statement"
8
+
- filename: "test_calculate_gpa"
40
9
sourceSet: "SRC"
41
10
extension: PYTHON
42
-
id: "read_statement_coverage_file"
43
-
- filename: "read"
11
+
id: "test_calculate_gpa"
12
+
- filename: "calculate_gpa"
44
13
sourceSet: "SRC"
45
-
templateFile: "read"
14
+
templateFile: "calculate_gpa"
46
15
extension: PYTHON
47
-
id: "read"
16
+
id: "calculate_gpa"
48
17
openAllFiles: true
49
18
50
-
- description: "Branch Coverage: Causes every decision (if, switch, while, etc.) in the program to be made both ways (or every possible way for switch).\n\nSystem: Design a test case to exercise each decision in the program each way (true/false).\n\nCompletion criterion: A test case for each side of each decision.\n\nNote: You only need to do branch coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import write.py and pytest."
51
-
id: write_branch_coverage
52
-
name: "Write Branch Coverage"
53
-
focusFileId: "write_branch_coverage_file"
19
+
- description: "Complete the task using the instructions on LimeSurvey. The task file will be under tasktracker/python/WordSearch/src. /n/n After completing the task, and submitting the files on LimeSurvey, click next. Branch Coverage: Causes every decision (if, switch, while, etc.) in the program to be made both ways (or every possible way for switch).\n\nSystem: Design a test case to exercise each decision in the program each way (true/false).\n\nCompletion criterion: A test case for each side of each decision.\n\nNote: You only need to do branch coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import write.py and pytest."
20
+
id: branch_coverage
21
+
name: "Check Parcel Branch Coverage"
22
+
focusFileId: "test_check_parcel"
54
23
files:
55
-
- filename: "test_write_branch"
24
+
- filename: "test_check_parcel"
56
25
sourceSet: "SRC"
57
26
extension: PYTHON
58
-
id: "write_branch_coverage_file"
59
-
- filename: "write"
27
+
id: "test_check_parcel"
28
+
- filename: "check_parcel"
60
29
sourceSet: "SRC"
61
-
templateFile: "write"
30
+
templateFile: "check_parcel"
62
31
extension: PYTHON
63
-
id: "write"
32
+
id: "check_parcel"
64
33
openAllFiles: true
65
34
66
-
- description: "Path Coverage: Ensures that every unique path through the program, from start to finish, is executed at least once.\n\nSystem: Design test cases to cover all possible paths in the control flow graph of the program.\n\nCompletion criterion: A test case for every distinct control flow path.\n\nNote: You only need to do path coverage for the provided code for this study.\n\nYou will need to import read.py and pytest."
67
-
id: read_path_coverage
68
-
name: "Read Path Coverage"
69
-
focusFileId: "read_path_coverage_file"
70
-
files:
71
-
- filename: "test_read_branch"
72
-
sourceSet: "SRC"
73
-
extension: PYTHON
74
-
id: "read_path_coverage_file"
75
-
- filename: "read"
76
-
sourceSet: "SRC"
77
-
templateFile: "read"
78
-
extension: PYTHON
79
-
id: "read"
80
-
openAllFiles: true
35
+
# - description: "Sample Task - Statement Coverage: This task is a sample for reference only to show what a basic Python unit test using pytest looks like.\n\nStatement Coverage: Causes every statement in the program to be executed at least once, giving us confidence that every statement is at least capable of executing correctly.\n\nSystem: Make a test case for each statement in the program, independent of the others.\n\nCompletion criterion: A test case for every statement.\n\nNote: You only need to do statement coverage for the provided code for this study.\n\nWhen you are done the task, please back up the file in a separate location before submitting it.\n\nThe files can be found in the tasktracker directory.\n\nYou will need to import print_error.py and pytest."
0 commit comments