20180925-2 功能测试

此作业要求祥见:https://edu.cnblogs.com/campus/nenu/2018fall/homework/2144

要求1bug计分

1

(1)标题:孙赛佳同学的程序输出结果格式与SPEC不符。

2bug内容:

a:测试环境

Windows Professional 64bit
cmd

b:测试步骤

进入wf.exe文件所在的文件夹;
输入wf folder

c:运行结果

AnnaKarenina
total 14205 words
the 16738
and 12393
to 9764
of 8303
he 7297
a 5925
in 5744
was 5114
his 5068
that 5022

 d:期待运行结果

AnnaKarenina
total 14205 words

the 16738
and 12393
to 9764
of 8303
he 7297
a 5925
in 5744
was 5114
his 5068
that 5022

 e:运行结果与期待运行结果的差异

没有按照格式输出,与SPEC不符。

3)佐证材料:

a:运行截图

b:作业spec

 

 

2

(1)标题:公冶令鑫同学的程序无法识别-s指令。

2bug内容:

a:测试环境

Windows Professional 64bit
cmd

b:测试步骤

进入wf.exe文件所在的文件夹;
输入wf -s text.txt

c:运行结果

-s is not a file or path

d:期待运行结果

>wf -s test.txt
total 5

very    2
my      1
english 1is      1
pool    1

e:运行结果与期待运行结果的差异

无法识别-s指令。

3)佐证材料:

a:运行截图

b:作业spec

 要求2:记录所有为你的代码找到的bug,合并相同的bug,亲自重现bug现象,发布bug报告。

1.输出问题,将所有的单词和单词对应数量全部输出了。

2.没有格式化输出。

 b:作业spec

要求3:修改bug。

 

git地址:https://coding.net/u/Cool_Ary/p/Word_Count/git

posted @ 2018-10-08 12:17  王硕Ary  阅读(122)  评论(0编辑  收藏  举报