Study Plan - The Thirty-Second Day

    Article Translate. From url:http://blog.sina.com.cn/s/blog_5c230e010100bw85.html

    Unit, integration, confirm, systematic test are divided by the development stage. Whitebox, blackbox and graybox are divided by the testing techniques. The unit in common say is indicate a function which implement a simple function. Unit test only use a group of input data to test function whether normal, and return the right output. It is usual through the developer to write the script to test, the method of whitebox test use for unit  test usually.

    Here said the whitebox test is point that to test by design test example for program's logic structure. The whitebox test is use rate of logic cover to measure the integrity of test. The main logic unit is the sentence, branch, condition, conditional value, the group of conditional value, path. The sentence cover is cover all of the sentences, other is also this way to explain. And another judge condition cover, is the group of branch cover and condition cover actualy, so it will not discuss here. It is have three kind of relation with condition cover easy to confuse us. Make a explanation: the condition conver is point that cover all of the condition expression, meas all of the condition expression will count one time at least, do not consider the result of calculate, the conditional value cover is point that all value of cover condition, it is means every condition get true value and get false value should calculate one time at least, the group of conditonal value cover is cover all of the conditional possiblely value. This translate almost make me to vomit, so I should to stop do it.

posted @ 2012-05-20 18:46  下一个自己  阅读(142)  评论(0编辑  收藏  举报