zoukankan      html  css  js  c++  java
  • 【软件测试】因果图学习解析

    学习内容为因果图的简答入门

      Informations

      1、Introduce: 

      From the description to identify programs written in natural language specification due to (input condition) and fruit ( the change of output or the state of the program), can be converted by causality determination table in FIG.
    For the use of a composition suitable for describing a variety of conditions, to produce a plurality of corresponding acts testing methods, causal map is made in this context

      2、Points
      Steps needed:
      1)analyse the cause and effects.
      2)Use some sign restrictions or limitations on causal diagram.
      3)Needs to be analyzed and the relationship between them is expressed as between cause and effect diagram in Figure.
      4)The causal diagram into decision tables.
      5)The determination of each column of the table as the basis for design of test cases.
        
        Symbol
        I find this picture in wiki, let me introduce the symbol for you.
        
      Identity:equals if c1 then e1.
      Or: if c1 c2 one casue then e1.
      And: if c1and c2 both come true then e1.
      Exculsive:if e,that only zero or one come true in a,b.
        Inclusive:if i,that at least one come true in a,b,c.
      Requires: a requires b,if a is true that b must come true.
      Masks:if a is truth,that b must be false.
      Only one: their must be one and only one is truth in a and b.
      Decision table
      
      This is decision table.In this table ,we show the condition of cause and results.
      
      We have a needed example
        有一个处理单价为1元5角钱的盒装饮料的自动售货机软件。若投入1元5角硬币,按下“可乐”、“雪碧”、“红茶”按钮,相应的饮料就送出来。若投入的是两元硬币,在送出饮料的同时退还5角硬币。
      In this example we do not think that we push button once two. So it is easy to create decision table.
       
           in this table
      c1   按可乐    e1出可乐
      c2 按雪碧    e2出雪碧
      c3   按红茶    e3出红茶
      c4 1.5元         e4找零0.5
      c5   2元
  • 相关阅读:
    统计学_筛选试验
    ROC、PR 曲线/准确率、覆盖率(召回)、命中率、Specificity(负例的覆盖率)、F1 score
    阳/阴性预测值Positive/negative Predictive Value(推荐AA)
    统计学_样本量估计_python代码实现
    统计学_效应量Effect Size
    统计学_二型错误和功效(Type II Errors and Test Power)
    统计学的P值解释和误区
    【线性代数的几何意义】向量的基本几何意义
    【线性代数的几何意义】什么是线性代数
    【Eclipse】如何在Eclipse中使用命令行?
  • 原文地址:https://www.cnblogs.com/zzzzzshui/p/4357018.html
Copyright © 2011-2022 走看看