Method for automatically generating testing case on basis of function block diagram testing module

2015 
The present invention discloses a method for automatically generating a testing case on the basis of a function block diagram testing module, which comprises the steps of: extracting an input, an output, a logic relation and a constraint relation in a requirement specification of embedded software and according to the input, the output, the logic relation and the constraint relation in the requirement specification of the software, establishing the function block diagram testing module based on a similar function block diagram language; establishing a conversion rule for converting the function block diagram testing module into a data combination table; extracting basic data from the function block diagram testing module and then on the basis of the basic data, carrying out data derivation according to the conversion rule so as to convert the function block diagram testing module into the data combination table; and according to the data combination table, generating the testing case. The method has the advantages of high testing efficiency, high testing case quality, excellent sensitivity for a timing relationship, excellent sensitivity for the boundary, excellent sensitivity for operative logic and capacity for identifying a transfer relationship between a state and a state of the software.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []