45 research outputs found

    Chaining Test Cases for Reactive System Testing (extended version)

    Full text link
    Testing of synchronous reactive systems is challenging because long input sequences are often needed to drive them into a state at which a desired feature can be tested. This is particularly problematic in on-target testing, where a system is tested in its real-life application environment and the time required for resetting is high. This paper presents an approach to discovering a test case chain---a single software execution that covers a group of test goals and minimises overall test execution time. Our technique targets the scenario in which test goals for the requirements are given as safety properties. We give conditions for the existence and minimality of a single test case chain and minimise the number of test chains if a single test chain is infeasible. We report experimental results with a prototype tool for C code generated from Simulink models and compare it to state-of-the-art test suite generators.Comment: extended version of paper published at ICTSS'1

    Asynchronous Testing of Synchronous Components in GALS Systems

    Get PDF
    International audienceGALS (Globally Asynchronous Locally Synchronous) systems, such as the Internet of Things or autonomous cars, integrate reactive synchronous components that interact asynchronously. The complexity induced by combining synchronous and asynchronous aspects makes GALS systems difficult to develop and debug. Ensuring their functional correctness and reliability requires rigorous design methodologies, based on formal methods and assisted by validation tools. In this paper we propose a testing methodology for GALS systems integrating: (1) synchronous and asynchronous concurrent models; (2) functional unit testing and behavioral conformance testing; and (3) various formal methods and their tool equipments. We leverage the conformance test generation for asynchronous systems to automatically derive realistic scenarios (input constraints and oracle), which are necessary ingredients for the unit testing of individual synchronous components, and are difficult and error-prone to design manually. We illustrate our approach on a simple, but relevant example inspired by autonomous cars

    Synchronous Programs Testing Language (SPTL)

    No full text
    National audienceSPTL is a testing language for synchronous software. The goal is to generate test input sequences in conformance with a specification of the software external behavior and of guiding directives such as profiles and scenarios. In this document we present an overview of the language with a simple example of a reactive system testing.SPTL est un langage de test pour les logiciels synchrones. L'objectif est de générer des séquences d'entrée de test en conformité avec les spécifications du fonctionnement externe du logiciel et avec des directives pour guider ces tests telles que des profils et des scénarios. Dans ce document, nous présentons un aperçu du langage avec un exemple simple d'un test d'un système réactif

    Synchronous Programs Testing Language (SPTL)

    No full text
    International audienceSPTL is a language designed to test applications developed for synchronous controllers. It makes possible to provide a specification of the software external environment. This specification can then be processed to generate test input sequences guided by directives such as profiles of use and scenarios. We introduce a definition and an overview of the language through a simple example of a reactive system that we present in this paper

    Selection of sensors by a new methodology coupling a classification technique and entropy criteria

    Get PDF
    Complex industrial processes invest a lot of money in sensors and automation devices to monitor and supervise the process in order to guarantee the production quality and the plant and operators safety. Fault detection is one of the multiple tasks of process monitoring and it critically depends on the sensors that measure the significant process variables. Nevertheless, most of the works on fault detection and diagnosis found in literature emphasis more on developing procedures to perform diagnosis given a set of sensors, and less on determining the actual location of sensors for efficient identification of faults. A methodology based on learning and classification techniques and on the information quantity measured by the Entropy concept, is proposed in order to address the problem of sensor location for fault identification. The proposed methodology has been applied to a continuous intensified reactor, the "Open Plate Reactor (OPR)", developed by Alfa Laval and studied at the Laboratory of Chemical Engineering of Toulouse. The different steps of the methodology are explained through its application to the carrying out of an exothermic reaction

    LusRegTes: A Regression Testing Tool for Lustre Programs

    Get PDF
    Lustre is a synchronous data-flow declarative language widely used for safety-critical applications (avionics, energy, transport...). In such applications, the testing activity for detecting errors of the system plays a crucial role. During the development and maintenance processes, Lustre programs are often evolving, so regression testing should be performed to detect bugs. In this paper, we present a tool for automatic regression testing of Lustre programs. We have defined an approach to generate test cases in regression testing of Lustre programs.  In this approach, a Lustre program is represented by an operator network, then the set of paths is identified and the path activation conditions are symbolically computed for each version. Regression test cases are generated by comparing paths between versions. The approach was implemented in a tool, called LusRegTes, in order to automate the test process for Lustre programs

    Specifying a Cryptographical Protocol in Lustre and SCADE

    Get PDF
    We present SCADE and Lustre models of the Message Authenticator Algorithm (MAA), which is one of the first cryptographic functions for computing a message authentication code. The MAA was adopted between 1987 and 2001, in international standards (ISO 8730 and ISO 8731-2), to ensure the authenticity and integrity of banking transactions. This paper discusses the choices and the challenges of our MAA implementations. Our SCADE and Lustre models validate 201 official test vectors for the MAA.Comment: In Proceedings MARS 2020, arXiv:2004.12403. arXiv admin note: text overlap with arXiv:1703.0657

    04491 Abstracts Collection -- Synchronous Programming - SYNCHRON\u2704

    Get PDF
    From 28.11.04 to 03.12.04, the Dagstuhl Seminar Perspectives Workshop 04491 ``Synchronous Programming - SYNCHRON\u2704\u27\u27 was held in the International Conference and Research Center (IBFI), Schloss Dagstuhl. During the seminar, several participants presented their current research, and ongoing work and open problems were discussed. Abstracts of the presentations given during the seminar as well as abstracts of seminar results and ideas are put together in this paper. The first section describes the seminar topics and goals in general. Links to extended abstracts or full papers are provided, if available

    Precision livestock farming, automats and new technologies: possible applications in extensive dairy sheep farming

    Get PDF
    Precision livestock farming (PLF) technologies are becoming increasingly common in modern agriculture. They are frequently integrated with other new technologies in order to improve human–livestock interactions, productivity and economical sustainability of modern farms. New systems are constantly being developed for concentrated farming operations as well as for extensive and pasture-based farming systems. The development of technologies for grazing animals is of particular interest for the Mediterranean extensive sheep farming sector. Dairy sheep farming is a typical production system of the area linked to its historical and cultural traditions. The area provides roughly 40% of the world sheep milk, having 27% of the milk-producing ewes. Developed countries of the area (France, Italy, Greece and Spain – FIGS) have highly specialized production systems improved through animal selection, feeding techniques and intensification of production. However, extensive systems are still practiced alongside intensive ones due to their lower input costs and better resilience to market fluctuations. In the current article, we evaluate possible PLF systems and their suitability to be incorporated in extensive dairy sheep farming as practiced in the FIGS countries. Available products include: electronic identification systems (now mandatory in the EU) such as ear tags, ruminal boluses and sub-cutaneous radio-frequency identification; on-animal sensors such as accelerometers, global positioning system) and social activity loggers; and stationary management systems such as walk-over-weights, automatic drafter (AD), virtual fencing and milking parlour-related technologies. The systems were considered according to their suitability for the management and business model common in dairy sheep farming. However, adoption of new technologies does not take place immediately in small and medium scale extensive farmer. As sheep farmers usually belong to more conservative technology consumers, characterized by average age of 60 and a very transparent community, dynamics which does not favour financial risk taking involved with new technologies. Financial barriers linked to production volumes and resource management of extensive farming are also a barrier for innovation. However, future prospective could increase the importance of technology and promote its wider adoption. Trends such as global sheep milk economics, global warming, awareness to animal welfare, antibiotics resistance and European agricultural policies could influence the farming practices and stimulate wider adoption of PLF systems in the near future

    Generating test case chains for reactive systems

    Get PDF
    Testing of reactive systems is challenging because long input sequences are often needed to drive them into a state to test a desired feature. This is particularly problematic in on-target testing, where a system is tested in its real-life application environment and the amount of time required for resetting is high. This article presents an approach to discovering a test case chain—a single software execution that covers a group of test goals and minimizes overall test execution time. Our technique targets the scenario in which test goals for the requirements are given as safety properties. We give conditions for the existence and minimality of a single test case chain and minimize the number of test case chains if a single test case chain is infeasible. We report experimental results with our ChainCover tool for C code generated from Simulink models and compare it to state-of-the-art test suite generators
    corecore