
In business applications, faults depend on a multiplicity of causal factors,
and this approach allows to consider combinations of faults. We use Fault Tree
Analysis to determine how an undesirable state can occur in the system. The
results of this analysis expressed in terms of DC are integrated with the sys-
tem specified behavior to determine how we can reproduce such behaviors. If
the Fault Tree Analysis is complete, then the testing approach assures that all
conditions that enable a fault situation will show up as test cases.
Still, our experiments show that most of the scenarios resulting from Fault
Tree Analysis would be better integrated with models of the processes rather
than with statecharts. In business models, statecharts are used to represent in-
dividual resource behavior [12]. Activity (or process) diagrams show the control
and data flow of processes, and thus involve the interaction among di&erent
resources and products. Interesting fault conditions arise when individual com-
ponents can combine to a&ect the system behavior, and this information is closer
to a process description. One direction for further work is to describe how to
in tegrate fault tree analysis results with process models.
The combination of Fault Tree Analysis and statecharts, poses a problem,
such as the integration of heterogeneous specifications. Most of the tasks in-
volved, i.e. the conversion of Duration Calculus formulas to statec harts, the slic-
ing and the generation of test sequences can be automated. Much of the ongoing
work is directed at developing tool support.
References
1. Special issue on Fault-Based Testing. IEEE Trans. on Software Eng., 6(3), 1980.
2. L. J. Morell. A Theory of Fault-Based Testing. IEEE Trans. on Software Eng.,
16(8):844—857, 1990.
3. M. A. Sanchez and M. A. Felder. A Systematic Approach to Generate Test Cases
based on Faults. In ASSE2003, ISSN 1666 1087, Buenos Aires, 2003.
4. Fault Tree Handbook. Nureg-0492, U.S. Nuclear Regulatory Commission, 1981.
5. D. Harel. Statechar ts: A visual formalism for complex systems. Science of Com-
puter Programming, 8:231—274, 1987.
6. J. B. Dugan and S. A. Doyle. Incorporating imperfect coverage into a BDD solution
of a combinatorial model. Journal of Automatic Control Production Systems,
30(8):1073—1086, 1996.
7. K.M.Hansen,A.P.Ravn,andV.Stavridou. FromSafetyAnalysistoSoftware
Requirements. IEEE Trans. on Software Eng., 24(7):573—584, July 1998.
8. Ch. Zhou, C.A.R. Hoare, and A. P. Ravn. A Calculus of Durations. Information
Processing Letters, 40(5):269—276, Dec. 1991.
9. M. A. Sanchez and M. A. Felder. Slicing of Statecharts. In ASSE2001, Buenos
Aires, pages 177—190, 2001.
10. Y. Kim, H. Hong, D. Bae, and S. Cha. Test cases generation from UML state
diagrams. In IEE Proceedings: Software, 146(4), pages 187—192, 1999.
11. G. Booch, J. Rumbauch, and I. Jacobson. The Unified Modeling Language. User
Guide. Addison Wesley Longman, Reading, MA, USA, 1998.
12. H-E. Eriksson and M. Penker. Business Modeling with UML Business Patterns at
Work. Wiley Computer Publishing. John Wiley & Sons, Inc., 2000.
71