1 / 11

Conformance Testing with State Mapping

Conformance Testing with State Mapping. Vadim Mutilin ISP RAS. Conformance Testing. Implementation. Specification. Sys. M. conforms-to?. Test suite. Test case. T. t. *. Sys passes T. T is sound if Sys conforms-to M => Sys passes T

nasim-white
Download Presentation

Conformance Testing with State Mapping

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Conformance Testing with State Mapping Vadim Mutilin ISP RAS

  2. Conformance Testing Implementation Specification Sys M conforms-to? Test suite Test case T t * SyspassesT T is sound if Sysconforms-toM => SyspassesT T is complete if Sysconforms-toM <=> SyspassesT

  3. State Mappings • MAPPINGS: SPECS×IMPLSFUNCS • f=MAPPINGS(M,Sys) • f:SSysSM • In practice: • Reading an implementation state • Converting it into a specification one

  4. Example

  5. Differences from FSM-based Testing • FSM vs. Labelled Transition System (LTS) • Equivalence vs. Conformance relation • Status message vs. State mapping

  6. Test cases • ISO IS-9646 “OSI Conformance Testing Methodology and Framework” • OMG “UML Testing Profile” • Tretmans formalization: • Labelled transition system ‹S, L, T, s0› • Test case ‹St, L, Tt, ν, s0t›, • ν : St → {pass, fail} – verdict function. • Test run – synchronous parallel composition t||Sys (in initial state)

  7. Composite Test Suites

  8. Derived Test Suite T3=Derived(Te3) • SyspassesTe<=> Syspasses Derived(Te)

  9. Time of Test Execution • ρ(Te)<=ρ(Derived(Te)) • In example ρ(Te3) = 20 <=ρ(T3) = 53 • When < • Circles • Non-determination

  10. Conclusions and Future Work • Theory • More efficient way of writing test suites • Practice • UniTESK formalized as FSM-based testing • Future • Conditions for test suite completeness

  11. Thank you!Questions? Vadim Mutilin (ISP RAS) mutilin@ispras.ru

More Related