Design test case for papercup

来源:互联网 发布:windows发展 编辑:程序博客网 时间:2024/06/10 03:06
   Today I saw a question about design a test case for papercup.It is designed for sorts of aspects,mainly in functionality,performance,accessible utility,stablity and exercisable.On each aspect also contain several condition.For function, take an example,whether the cup can fill water,how much it can contain,wether can be filled hot water and how much hot water it can contain.
   There still have lots of things I weren't mentioned.Actually,the question shocked me.You know,maybe we can directly thought whether the cup can contain water or hotwater and how long it can contain and how long for different drink,like orange or milk.Actually the writer wrotes so many state.Even,how to take the cup,whether the cup feel cold/hot when it contain ice/hot water and in which angle it will be fell.And it also apply to lots of methods,like cause and effect chart and bounder value etc.I mean a seeming easy object,but include so many factor to test.Therefore,you can image,a easiest function need think about its possiblity totally.We can't miss any branch,or leaking test will occur.This will influence our afterward working,maybe incredible cost.I think using test matrix is good method to deal with this question,especially for entry tester.
   Actually,I don't know what I want to write.It is just sentiment after seeing the design test case.I believe that I should try to write some cases from these small things,like cup.Like a chinese idiom,practice make real knowledge.
原创粉丝点击