Semi-Automatic Test Case Generation from CO-OPN Specifications

نویسندگان

  • Levi Lúcio
  • Didier Buchs
چکیده

In this paper we will describe our work on automatic generation of tests for Systems Under Test (SUT) described in the CO-OPN specification language that has been developed in our laboratory. CO-OPN (Concurrent Object Oriented Petri Nets) is a formalism for describing concurrent software systems that possesses most of the characteristics we can find in mainstream semi-formal modeling languages. Given its formal semantics, CO-OPN is a suitable formalism for model-based test case generation. Within our work we have developed a test selection language for CO-OPN specifications which we have named SATEL (Semi-Automatic Testing Language). The purpose of SATEL is to allow the test engineer to express abstract test intentions that reflect his/her knowledge about the semantics of the SUT. Test intentions are expressed by execution traces with variables that can expanded into full test cases – this is done using the CO-OPN specification of the SUT as a reference for calculating the oracles. We call our test selection language semi-automatic because it allows explicitly choosing the shape of the test cases in a test intention, while relying on automatic mechanisms for calculating the equivalence classes of operations defined in the model.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Exploiting Various Levels of Semantics in CO-OPN for the SANDS Environment Tools

This paper describes the techniques and tools developed to support the construction of CO-OPN specifications (Concurrent Object Oriented Petri Nets) [7] and the kind of semantics that are needed for each part of the environment. CO-OPN is a specification language which permits an abstract description of aspects of concurrent operations and data-structures of computer programs. The concurrent an...

متن کامل

An Experiment with Coordinated Algebraic Petri Nets as Formalism for Modeling Mobile Agents

This paper shows the aspects of CO-OPN/2, a formal component-oriented modeling language based on algebraic Petri nets, that can be used for the formal modelling of distributed applications involving mobile agent technology. The CO-OPN/2 language offers several structuring tools to make consequently sized projects manageable, and the development environment provides a rich toolset designed to su...

متن کامل

From Formal Specifications to Ready-to-Use Software Components: The Concurrent Object Oriented Petri Net Approach

CO-OPN (Concurrent Object Oriented Petri Net) is a formal specification language for modelling distributed systems; it is based on coordinated algebraic Petri nets. In this paper we describe a method for generating an executable prototype from a CO-OPN specification. We focus our discussion on the generation of executable code for COOPN classes. CO-OPN classes are defined using Petri Nets. The ...

متن کامل

Automatic Test Cases Generation for Statechart Specifications from Semantics to Algorithm

This paper studies automatic test cases generation for Statechart specifications. Applying Tretmans’ approach to generate test cases from labeled transition systems, we provide a solid mathematical basis for conformance testing and automatic test case generation for Statechart specifications. In order to make the test cases generation process more simple and efficient, we propose observable sem...

متن کامل

Automatic test case generation for critical embedded systems

This paper presents a research project on the feasability of automatic test generation from formal specification in an industrial context. Airbus has used SCADE for several years to specify critical avionics systems. We have experimented automated test generation tools from SCADE specifications and defined a coverage criterion adapted to SCADE specifications.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007