提交 1f2f0b66283af2361becb1aab41b448b4f6ef6a6

作者 Shishutong
1 个父辈 a06fcc8f

版本:1.0.5

1.优化
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <project version="4">
3 3 <component name="ChangeListManager">
4   - <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="版本:1.0.5&#10;1.新增发送钉钉">
  4 + <list default="true" id="129454fc-5415-4c7e-9855-d0293355ede5" name="Default Changelist" comment="版本:1.0.5&#10;1.md文档更新">
5 5 <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6   - <change beforePath="$PROJECT_DIR$/data/system/test_02_department.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_department.xlsx" afterDir="false" />
7   - <change beforePath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_specialty.xlsx" afterDir="false" />
8   - <change beforePath="$PROJECT_DIR$/data/system/test_02_term.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/system/test_02_term.xlsx" afterDir="false" />
9   - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_class.xlsx" afterDir="false" />
10   - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_course.xlsx" afterDir="false" />
11   - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_student.xlsx" afterDir="false" />
12   - <change beforePath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/teaching_affairs/test_03_teacher.xlsx" afterDir="false" />
13   - <change beforePath="$PROJECT_DIR$/data/test_01_login.xlsx" beforeDir="false" afterPath="$PROJECT_DIR$/data/test_01_login.xlsx" afterDir="false" />
14   - <change beforePath="$PROJECT_DIR$/instruction_book.md" beforeDir="false" afterPath="$PROJECT_DIR$/instruction_book.md" afterDir="false" />
15   - <change beforePath="$PROJECT_DIR$/report/history.json" beforeDir="false" afterPath="$PROJECT_DIR$/report/history.json" afterDir="false" />
16   - <change beforePath="$PROJECT_DIR$/report/report.html" beforeDir="false" afterPath="$PROJECT_DIR$/report/report.html" afterDir="false" />
17 6 </list>
18 7 <option name="SHOW_DIALOG" value="false" />
19 8 <option name="HIGHLIGHT_CONFLICTS" value="true" />
... ... @@ -190,7 +179,7 @@
190 179 <workItem from="1671858161931" duration="14040000" />
191 180 <workItem from="1672107155517" duration="12595000" />
192 181 <workItem from="1672129396493" duration="4038000" />
193   - <workItem from="1672191767788" duration="14489000" />
  182 + <workItem from="1672191767788" duration="15174000" />
194 183 </task>
195 184 <task id="LOCAL-00001" summary="1.0.0&#10;首次提交">
196 185 <created>1671544396986</created>
... ... @@ -248,7 +237,14 @@
248 237 <option name="project" value="LOCAL" />
249 238 <updated>1672217994799</updated>
250 239 </task>
251   - <option name="localTasksCounter" value="9" />
  240 + <task id="LOCAL-00009" summary="版本:1.0.5&#10;1.md文档更新">
  241 + <created>1672219136293</created>
  242 + <option name="number" value="00009" />
  243 + <option name="presentableId" value="LOCAL-00009" />
  244 + <option name="project" value="LOCAL" />
  245 + <updated>1672219136293</updated>
  246 + </task>
  247 + <option name="localTasksCounter" value="10" />
252 248 <servers />
253 249 </component>
254 250 <component name="TypeScriptGeneratedFilesManager">
... ... @@ -287,7 +283,8 @@
287 283 <MESSAGE value="版本:1.0.4&#10;1.新增实践课程用例&#10;2。新增学生相关的用例" />
288 284 <MESSAGE value="版本:1.0.5&#10;1.新增发送钉钉功能" />
289 285 <MESSAGE value="版本:1.0.5&#10;1.新增发送钉钉" />
290   - <option name="LAST_COMMIT_MESSAGE" value="版本:1.0.5&#10;1.新增发送钉钉" />
  286 + <MESSAGE value="版本:1.0.5&#10;1.md文档更新" />
  287 + <option name="LAST_COMMIT_MESSAGE" value="版本:1.0.5&#10;1.md文档更新" />
291 288 </component>
292 289 <component name="XDebuggerManager">
293 290 <breakpoint-manager>
... ...
  1 +2022-12-24 17:36:34,624 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例新增教师,执行通过
  2 +2022-12-24 17:36:34,904 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例教师姓名不能为空,执行通过
  3 +2022-12-24 17:36:35,180 - [test_03_teaching_affairs.py-->line:120] - INFO: 用例教师手机号不能为空,执行通过
  4 +2022-12-24 19:27:25,876 - [test_03_teaching_affairs.py-->line:194] - ERROR: 用例标题新增班级,不通过
  5 +2022-12-24 19:27:25,877 - [test_03_teaching_affairs.py-->line:195] - ERROR: 'success' != 'JSON parse error: Cannot deserialize valu[421 chars]d"])'
  6 +- success
  7 ++ JSON parse error: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value
  8 + at [Source: (PushbackInputStream); line: 1, column: 134] (through reference chain: com.workai.yxly.basic.model.entity.ClassInfo["professionalId"])
  9 +Traceback (most recent call last):
  10 + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 189, in test_add_class_info
  11 + self.assertEqual(expected['msg'], res['msg'])
  12 + File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm/teamcity/diff_tools.py", line 32, in _patched_equals
  13 + old(self, first, second, msg)
  14 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
  15 + assertion_func(first, second, msg=msg)
  16 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual
  17 + self.fail(self._formatMessage(msg, standardMsg))
  18 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail
  19 + raise self.failureException(msg)
  20 +AssertionError: 'success' != 'JSON parse error: Cannot deserialize valu[421 chars]d"])'
  21 +- success
  22 ++ JSON parse error: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.lang.Long` from String "1606521119090012161_1": not a valid Long value
  23 + at [Source: (PushbackInputStream); line: 1, column: 134] (through reference chain: com.workai.yxly.basic.model.entity.ClassInfo["professionalId"])
  24 +
  25 +2022-12-24 19:29:47,077 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
  26 +2022-12-24 20:04:37,104 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
  27 +2022-12-24 20:05:43,541 - [test_03_teaching_affairs.py-->line:202] - INFO: 用例新增班级,执行通过
  28 +2022-12-24 20:05:46,494 - [test_03_teaching_affairs.py-->line:291] - INFO: 用例新增课程,执行通过
  29 +2022-12-24 20:26:31,621 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例新增教师,执行通过
  30 +2022-12-24 20:26:31,922 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
  31 +2022-12-24 20:26:32,202 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
  32 +2022-12-24 20:26:35,329 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
  33 +2022-12-24 20:26:38,285 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过
  34 +2022-12-24 20:29:36,541 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过
  35 +2022-12-24 20:29:36,793 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过
  36 +2022-12-24 20:29:37,018 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过
  37 +2022-12-24 20:29:37,345 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过
  38 +2022-12-24 20:29:37,602 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过
  39 +2022-12-24 20:29:38,536 - [test_02_system_management.py-->line:98] - INFO: 用例新增院系成功,执行通过
  40 +2022-12-24 20:29:38,838 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称未填写,执行通过
  41 +2022-12-24 20:29:39,137 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称重复,执行通过
  42 +2022-12-24 20:29:39,430 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称长度不可大于30位,执行通过
  43 +2022-12-24 20:29:39,720 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码不能为空,执行通过
  44 +2022-12-24 20:29:40,002 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码长度不可大于30,执行通过
  45 +2022-12-24 20:29:40,334 - [test_02_system_management.py-->line:138] - INFO: 用例查看院系列表,执行通过
  46 +2022-12-24 20:29:41,850 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业成功,执行通过
  47 +2022-12-24 20:29:42,812 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系未填写,执行通过
  48 +2022-12-24 20:29:43,785 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系不存在,执行通过
  49 +2022-12-24 20:29:44,698 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称未填写,执行通过
  50 +2022-12-24 20:29:45,621 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称长度不能大于30,执行通过
  51 +2022-12-24 20:29:46,534 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称重复,执行通过
  52 +2022-12-24 20:29:47,559 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码未填写,执行通过
  53 +2022-12-24 20:29:48,587 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过
  54 +2022-12-24 20:29:49,639 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类未填写,执行通过
  55 +2022-12-24 20:29:50,566 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类填写错误,执行通过
  56 +2022-12-24 20:29:51,423 - [test_02_system_management.py-->line:278] - INFO: 用例新增学年学期成功,执行通过
  57 +2022-12-24 20:29:51,762 - [test_02_system_management.py-->line:278] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过
  58 +2022-12-24 20:29:52,060 - [test_02_system_management.py-->line:278] - INFO: 用例学年未填写,执行通过
  59 +2022-12-24 20:29:52,349 - [test_02_system_management.py-->line:278] - INFO: 用例学期未填写,执行通过
  60 +2022-12-24 20:29:52,663 - [test_02_system_management.py-->line:278] - INFO: 用例学期开始时间未填写,执行通过
  61 +2022-12-24 20:29:52,999 - [test_02_system_management.py-->line:278] - INFO: 用例学期结束时间未填写,执行通过
  62 +2022-12-24 20:29:54,261 - [test_03_teaching_affairs.py-->line:105] - ERROR: 用例标题新增教师,不通过
  63 +2022-12-24 20:29:54,261 - [test_03_teaching_affairs.py-->line:106] - ERROR: 'success' != '该身份证号不合法,请确认'
  64 +- success
  65 ++ 该身份证号不合法,请确认
  66 +Traceback (most recent call last):
  67 + File "/Users/shitou/工作/code/work/workAi/yxly/testcase/test_03_teaching_affairs.py", line 100, in test_add_teacher_info
  68 + self.assertEqual(expected['msg'], res['msg'])
  69 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 839, in assertEqual
  70 + assertion_func(first, second, msg=msg)
  71 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 1220, in assertMultiLineEqual
  72 + self.fail(self._formatMessage(msg, standardMsg))
  73 + File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/unittest/case.py", line 680, in fail
  74 + raise self.failureException(msg)
  75 +AssertionError: 'success' != '该身份证号不合法,请确认'
  76 +- success
  77 ++ 该身份证号不合法,请确认
  78 +
  79 +2022-12-24 20:29:54,542 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
  80 +2022-12-24 20:29:54,831 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
  81 +2022-12-24 20:29:57,987 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
  82 +2022-12-24 20:30:01,007 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过
  83 +2022-12-24 20:30:37,186 - [test_01_login.py-->line:61] - ERROR: 用例标题登陆成功,通过
  84 +2022-12-24 20:30:37,453 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号填写错误的,通过
  85 +2022-12-24 20:30:37,692 - [test_01_login.py-->line:61] - ERROR: 用例标题手机号不进行填写,通过
  86 +2022-12-24 20:30:38,048 - [test_01_login.py-->line:61] - ERROR: 用例标题密码填写错误,通过
  87 +2022-12-24 20:30:38,290 - [test_01_login.py-->line:61] - ERROR: 用例标题密码不进行填写,通过
  88 +2022-12-24 20:30:39,078 - [test_02_system_management.py-->line:98] - INFO: 用例新增院系成功,执行通过
  89 +2022-12-24 20:30:39,384 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称未填写,执行通过
  90 +2022-12-24 20:30:39,659 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称重复,执行通过
  91 +2022-12-24 20:30:39,956 - [test_02_system_management.py-->line:98] - INFO: 用例院系名称长度不可大于30位,执行通过
  92 +2022-12-24 20:30:40,252 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码不能为空,执行通过
  93 +2022-12-24 20:30:40,545 - [test_02_system_management.py-->line:98] - INFO: 用例院系代码长度不可大于30,执行通过
  94 +2022-12-24 20:30:40,878 - [test_02_system_management.py-->line:138] - INFO: 用例查看院系列表,执行通过
  95 +2022-12-24 20:30:42,365 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业成功,执行通过
  96 +2022-12-24 20:30:43,304 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系未填写,执行通过
  97 +2022-12-24 20:30:44,332 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,院系不存在,执行通过
  98 +2022-12-24 20:30:45,349 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称未填写,执行通过
  99 +2022-12-24 20:30:46,409 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称长度不能大于30,执行通过
  100 +2022-12-24 20:30:47,368 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业名称重复,执行通过
  101 +2022-12-24 20:30:48,327 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码未填写,执行通过
  102 +2022-12-24 20:30:49,245 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,专业代码长度不能大于30,执行通过
  103 +2022-12-24 20:30:50,265 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类未填写,执行通过
  104 +2022-12-24 20:30:51,261 - [test_02_system_management.py-->line:212] - INFO: 用例新增专业失败,学科门类填写错误,执行通过
  105 +2022-12-24 20:30:51,998 - [test_02_system_management.py-->line:278] - INFO: 用例新增学年学期成功,执行通过
  106 +2022-12-24 20:30:52,305 - [test_02_system_management.py-->line:278] - INFO: 用例学年学期开始时间和结束时间不可交叉,执行通过
  107 +2022-12-24 20:30:52,588 - [test_02_system_management.py-->line:278] - INFO: 用例学年未填写,执行通过
  108 +2022-12-24 20:30:52,911 - [test_02_system_management.py-->line:278] - INFO: 用例学期未填写,执行通过
  109 +2022-12-24 20:30:53,205 - [test_02_system_management.py-->line:278] - INFO: 用例学期开始时间未填写,执行通过
  110 +2022-12-24 20:30:53,494 - [test_02_system_management.py-->line:278] - INFO: 用例学期结束时间未填写,执行通过
  111 +2022-12-24 20:30:55,091 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例新增教师,执行通过
  112 +2022-12-24 20:30:55,371 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师姓名不能为空,执行通过
  113 +2022-12-24 20:30:55,670 - [test_03_teaching_affairs.py-->line:113] - INFO: 用例教师手机号不能为空,执行通过
  114 +2022-12-24 20:30:58,660 - [test_03_teaching_affairs.py-->line:201] - INFO: 用例新增班级,执行通过
  115 +2022-12-24 20:31:01,654 - [test_03_teaching_affairs.py-->line:290] - INFO: 用例新增课程,执行通过
... ...
此 diff 太大无法显示。
此 diff 太大无法显示。
注册登录 后发表评论