summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLan Hui <lanhui@zjnu.edu.cn>2022-01-17 09:55:25 +0800
committerLan Hui <lanhui@zjnu.edu.cn>2022-01-17 09:55:25 +0800
commit0520346ac0879e627e9d3c478f9167c85a53d63c (patch)
tree9237eec4b0099e26bad9517e4be3c19575cff8f2 /test
parent216a5a64caf77d4e16f227b3a5872bdb64e74a4f (diff)
Add one integration test case and adjust analyze.py
Diffstat (limited to 'test')
-rw-r--r--test/integration/2students-lab-project-exam-3objectives/exclude.txt1
-rw-r--r--test/integration/2students-lab-project-exam-3objectives/students.txt2
-rw-r--r--test/integration/2students-lab-project-exam-3objectives/tasks.json14
3 files changed, 17 insertions, 0 deletions
diff --git a/test/integration/2students-lab-project-exam-3objectives/exclude.txt b/test/integration/2students-lab-project-exam-3objectives/exclude.txt
new file mode 100644
index 0000000..5ed842b
--- /dev/null
+++ b/test/integration/2students-lab-project-exam-3objectives/exclude.txt
@@ -0,0 +1 @@
+201930220320 陈辉
diff --git a/test/integration/2students-lab-project-exam-3objectives/students.txt b/test/integration/2students-lab-project-exam-3objectives/students.txt
new file mode 100644
index 0000000..67f232b
--- /dev/null
+++ b/test/integration/2students-lab-project-exam-3objectives/students.txt
@@ -0,0 +1,2 @@
+201930220235 王以冠
+201930220320 陈辉
diff --git a/test/integration/2students-lab-project-exam-3objectives/tasks.json b/test/integration/2students-lab-project-exam-3objectives/tasks.json
new file mode 100644
index 0000000..9195fa6
--- /dev/null
+++ b/test/integration/2students-lab-project-exam-3objectives/tasks.json
@@ -0,0 +1,14 @@
+{
+ "course.objectives":["co1", "co2", "co3"],
+ "tasks":{
+ "lab":{
+ "co1":30
+ },
+ "project":{
+ "co2":20
+ },
+ "exam":{
+ "co3":50
+ }
+ }
+}