0. daily beginning
This work belongs courses | <Links courses> |
Where the job requires | < Https://www.cnblogs.com/harry240/p/11524162.html > |
Team Name | <Programming team six doors> |
The target job | The completion of the project Alpha release, given alpha version of the test report and project summary |
1. Team member list
Full name | student ID |
Cao Huan (Leader) | 201731031124 |
Shen Ying | 201731062306 |
Tang testicles | 201731062405 |
Peng Hao | 201731062323 |
Since Xu Huan | 201731023214 |
Huang Hao | 201731054221 |
2. Publish the address and Installation Manual
End web address: http://47.100.95.101:8080/webUser/webToLogin (no need to download and install)
Small micro-channel program end (record screen video presentation link): http://47.100.95.101:8888/usr/dormi/dormi.mp4
Because we micro-channel applet to do the audit released when the official has not approved, and the problem can not be solved, micro-channel small program temporarily can not let the trial, had recorded a screen display, if necessary, assistant students or assistant teacher can Contact group members, can also be a live demonstration on the computer
3. Test report
3.1 Test organization of work
Small micro-channel program end: Cao Huan (announcement function, leave recording function), Peng Hao (bedroom score viewing, viewing personal information), Shen Ying (the sleep information registration, log-ins)
Test web client: black box testing: Tang Jinyu case design and testing: Huang Hao frame test unit tests: Xu from Huan
3.2 Test Tool
POSTMAN,junit
3.3.1 micro-channel test and test results screenshot
User login
Enter: User name and password
Test Case 1: (201731062323,123456)
Output: Welcome, PH
Test 2 (201731062323,58877)
Output: The user name or password is incorrect
Test Case 3: (<-!> 2334ww @@, 123456)
Output: The user name or password is not legitimate
Input: the required information is recorded bedroom
Test case as follows:
ph
Software Engineering
201731062323
Computer, luggage
15-418
2019-11-7
Output: Adding success tips
After the success of the new database as follows
Leave the test
Software Engineering
201731062323
Sick to the hospital
2019-11-6
214
test.png
After the success of the new content database as follows
Leave successfully added information
Output: Adding success tips
3.3.2 web client test cases and test results screenshot
1. junit unit test
After this project will build a good framework for unit testing framework, using the JUnit testing Java provides conducted.
JUnit is a unit testing framework for the Java language. It was founded by Kent Beck and Erich Gamma, has gradually become due sUnit Kent Beck's xUnit family of one of the most successful. JUnit JUnit extension has its own ecosystem. Most Java development environment have been integrated as a tool for JUnit unit testing.
2. Test equivalence partitioning
Module |
Input conditions |
Effective equivalence class |
Invalid equivalence class |
Landing module |
Administrator account |
(1) a length of 13 (2) Digital |
(3) the length is not 13 (4) containing a character other than numbers |
Administrator password |
(5) can not be empty (6) length is less than 6 |
(7) a blank password (8) a length of less than 6 |
|
Announcement module |
Bulletin Title |
(9) announcement is not empty |
(10) Notice is empty |
Bulletin describes |
|
(11) information bulletin describes as invalid |
|
Score registration module |
Bedroom Score |
(12) is a fraction of the interval [0,100] (13) fraction is not empty |
(14) score is empty (15) fraction is not in [0,100] |
Bedroom No. |
(16) Number of BAN bedroom in [1,24] (17) Number of bedroom floors [1,6] (18) Number bedroom [1,27] |
(19) Number of BAN is not sleeping [1,24] (20) Number of bedroom floors are not [1,6] (21) than the bedroom No. 0-27 |
|
Rate Date |
(22) Date Format YYYY-MM-DD |
(23) does not comply with the requirements of the date format (24) Enter the month for more than 12 (25) enter the year not this year (26) does not meet the number of days of the month |
(2) test case design
Module |
Input data |
expected outcome |
Covering equivalence classes |
Landing module - account |
17396240333 |
Entered correctly |
(1)(2) |
1735239732 |
input error |
(3) |
|
12232342A |
input error |
(4) |
|
Landing module - Password |
null |
输入错误 |
(5)(7) |
12345 |
输入错误 |
(6)(8) |
|
公告发布模块—公告标题 |
null |
输入错误 |
(9)(10) |
分数登记模块—寝室分数 |
98 |
输入正确 |
(11)(12)
|
120 |
输入错误 |
(11)(15) |
|
null |
输入错误 |
(13)(14) |
|
分数登记模块—寝室号 |
null |
输入错误 |
(16)(17)(18)(19)(20) |
19-418 |
输入正确 |
(16)(17)(18) |
|
29-329 |
输入错误 |
(19)(20) |
|
0-712 |
输入错误 |
(19)(20) |
|
分数登记模块—打分日期 |
2019-09-21 |
输入正确 |
(22) |
|
2033-21-12 |
输入错误 |
(23)(24)(25) |
|
2019-12-34 |
输入错误 |
(26) |
1、环境测试:
整体测试导航条:
1、 用户模块
(1) 登录
输入数据:{"adminCard":"123","adminPassword":"123"}
返回结果:
(2) 查看用户信息
输入数据:{"adminCard":"12345","adminPassword":"123456"}
2、 请假模块
查询及返回结果:
3、 出寝登记模块
查询及返回结果:
4、 评分模块:
进行评分:
输入:
[
{
"evaluationScore": "90",
"evaluationDate": "2019-07-06",
"dormNumber": "19-418"
},
{
"evaluationScore": "91",
"evaluationDate": "2019-07-01",
"dormNumber": "19-318"
},
{
"evaluationScore": "83",
"evaluationDate": "2019-05-09",
"dormNumber": "19-408"
}
]
修改评分:
5、 公告模块
新增公告:插入图片及文字
修改公告:
输入:{"noticeTitle":"12","noticeDesc":"你好"}
查看公告
3.4测试体会与总结
曹欢:在有了上一次的测试经验之后,这一次的测试比较流畅的进行了下去,能个人较好的完成测试的需要。对测试工具postman有了更深的了解,学习到了很多测试的小技巧。
彭皓:这次测试过程发现了一些后端的问题,比如json数值的转换,如何把数据库的数据取出来转换为json数组,本来以为可以一帆风顺,但实际却遇到了一些麻烦,但好在小组成员大家齐心协力,在大家的帮助下完成了修改。
申颖:因为我是写前端的,对后端不是太了解,所以在后期测试的时候经常会遇到前后端连接的问题,比如如何把微信页面的图片、表格传到后端,这些都是遇到的问题,这时候需要去网上查阅其他大佬的博客来解决实际遇到的问题。
黄浩:因为有做过类似网页项目的经验,以前也测试过,所以这次测试总的来说是轻车熟路,测试都比较迅速的完成,但是因为实际项目总会有一些和以往项目不同的地方,在测试的时候也需要小心应对。
许自欢:测试的时候因为对网页数据传输还不是很熟练,在写后端代码的时候有点生硬,一些地方显得不是那么简洁。在今后的工作中需要多多运用,才能在写代码的时候更加流畅。
唐金玉:在写网页前端页面时,最大的问题就是因为对后端的不熟悉,会与后端有一些脱节之处,以后在写前端时要注意看之前的需求分析文档与数据库设计文档,这样能减少失误,减少后期的改错。
4.项目情况总结
4.1α版本项目已经完成的内容
微信小程序端:登陆功能,出寝物品登记功能,请假说明提交功能,最近寝室公告查看功能,寝室分数查看功能,订水、交电费、报修功能,查看个人信息功能
网页管理端:寝室公告发布功能,寝室分数上传功能,出寝物品登记查看功能,请假记录提交查看功能
4.2和项目预期计划相比,还有哪些内容没有完成
因为主要功能已经大部分完成,现在最大的问题是微信小程序端的页面美化问题,需要进一步对微信样式进行改进。
然后就是在我们初代版本完成之后,发现可以增加一些功能,比如对提交功能进行优化,对提交之后的东西进行修改,这个功能暂时没有,后面可以增加。
4.3下一次β版本的展望,给出具体的安排计划
微信后端工作人员在连接微信前后端时将微信前端页面改得有点丑,接下来可以在微信端对前端页面进行美化。
对于工作安排,因为功能大体已经实现,在功能上接下来一至两周时间进行最后的完善,对于页面的美化工作也是同时进行。接下来一两周,前端人员进行页面美化工作,后端人员进行功能的最后完善。