,

Scenarios, State Machines, and Purpose-Driven Testing

, , и .
4th International Workshop on Scenarios and State Machines: Models, Algorithms and Tools (SCESM'05), стр. 1--5. St. Louis, MI, (мая 2005)
DOI: 10.1145/1083183.1083185

Аннотация

Testing is a necessary but frequently expensive ac-tivity that is needed to ensure software quality. For large, complex systems, testing based on covering all control flow or all data flow paths is intractable. But focusing on tests that are purpose-driven, namely on tests that are derived from system requirements and that test whether requirements goals are met, signif-icantly reduces the size of a “complete” test suite for the system while simultaneously increasing confidence that the system performs as expected. Scenarios and state machines provide a useful framework for modeling and analysis of purpose-driven testing. Scenarios are sequences of events that represent purposeful uses of a system (or of its compo-nents, to any desired degree of detail). State machines, in the form of recursive transition diagrams, can model the successive refinement of requirements goals into architectures and implementations, and testing them using purpose-driven scenario-based tests pro-vides early validation of that refinement. Formulating sets of scenarios that capture and represent a com-plete-enough set of requirements ensures that a test suite covering them explores all important regions of a system’s state space. The scenario-based tests will predict with high confidence which system goals have been met, and, certainly, which have not. This position paper sketches elements of our approach to purpose-driven testing using scenarios and state machines.

тэги

Пользователи данного ресурса

  • @neilernst

Комментарии и рецензии