WO2012076303A1 - Device and method for efficiently carrying out system test runs - Google Patents

Device and method for efficiently carrying out system test runs Download PDF

Info

Publication number
WO2012076303A1
WO2012076303A1 PCT/EP2011/070200 EP2011070200W WO2012076303A1 WO 2012076303 A1 WO2012076303 A1 WO 2012076303A1 EP 2011070200 W EP2011070200 W EP 2011070200W WO 2012076303 A1 WO2012076303 A1 WO 2012076303A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
tested
system state
state
test device
Prior art date
Application number
PCT/EP2011/070200
Other languages
German (de)
French (fr)
Inventor
Wieland Eckert
Nicole Wengatz
Original Assignee
Siemens Aktiengesellschaft
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Publication of WO2012076303A1 publication Critical patent/WO2012076303A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers

Definitions

  • the invention relates to an apparatus and method for efficiently performing system test runs for a system, and more particularly to a test device in a service-oriented architecture ⁇ to increase the testing efficiency.
  • test device with the features specified in claim 1.
  • the invention provides a test apparatus for efficiently performing system test runs in a system
  • an associated TEST CASE provided by the test device for each use case of the system under test that has a sequence of test steps, where each placed a test stimulus to the system under test at ⁇ and caused thereby test response of the system to be tested is checked by the test apparatus, wherein the system to be tested is placed in a system test run from an initial system state of the system to be tested in each test step of the TEST CASES in another system state until an end system state of the system under test for the respective TEST CASE is achieved wherein in order to accelerate each further system test run in a TEST CASE, the system to be tested is set directly into a specific system state by the test device, in the test steps to reach the determined system state, only the associated test stimuli without a test response check to the Sy be created by the test device, provided that the test responses received until reaching the specific system state in at least one other system test run successfully over ⁇ checked.
  • the other system test run may be a previous system test run in which the test responses received have already been successfully checked.
  • the test device according to the invention thus makes it possible to increase the test efficiency by modularizing the TEST CASES or applications of the system to be tested with sequences of test steps.
  • the test device according to the invention thus makes it possible to increase the test efficiency by modularizing the TEST CASES or applications of the system to be tested with sequences of test steps.
  • Test device forms a sequence of test steps of a TEST CASES starting from the initial system state of the system until the specific system state has been reached, a test sequence prefix.
  • a sequence of test steps of TEST CASES forms a test sequence postfix starting from the determined system state until reaching the end system state for the respective TEST CASE.
  • test device of the present invention enables optimized scheduling that allows the targeted loading of test modules that execute a set or sequence of test steps to bring the system under test to a defined system state.
  • the system to be tested is brought into the defined or system state by the test device by setting the system into the determined system state by means of test steps of a selected TEST CAS, starting from the initial system state of the system to be tested is where said selected TEST CASE having an optimum Testsequenzoniafix for jeweili ⁇ gen particular system state.
  • the test device thus selects a TEST CASE on the basis of a specific selection criterion for an optimal test sequence prefix of the TEST CAS.
  • the optimal Testsequenz sprefix a mi ⁇ nimale test execution time to achieve the specific system state of the system under test.
  • the optimal test sequence prefix has a minimum resource requirement for the test. until the system state of the system under test is reached.
  • the test device according to the invention has a minimum energy requirement bi for achieving the specific system state.
  • a TEST CASE is selected on the basis of a combination of selection criteria.
  • a combination of selection criteria is used in particular when conventional selection criteria, such as time requirements and energy requirements, conflict, for example if the system to be tested consumes a lot of energy during fast operation and consumes little energy during slow operation.
  • a weighted sum of selection criteria or a combination of elementary selection criteria is used.
  • the combined Seletechnischekomskrite ⁇ criterion may be that the system under test approved a hail must not exceed energy requirements and at the same time is to work as quickly as possible.
  • test stimuli of the test steps of the optimal test sequence prefix are generated by the test device until the system state has been reached as acceleration test modules for the respective system state.
  • the acceleration test modules are generated by the test device during the runtime of the system test run. In another possible embodiment of the test device according to the invention, the acceleration test modules are generated by the test device before the beginning of a further system test run.
  • test device of the invention the generated acceleration test modules in egg ⁇ nem repository or a memory of the test device for further use to be stored.
  • the acceleration test modules stored in the repository of the test device are dynamically loaded and executed at run time of the system test run at an execution unit of the test device.
  • the test device has a service-oriented architecture.
  • the test device is connected via a data interface parts directly to the system to be tested.
  • test device is connected to the system to be tested via a data network.
  • the system to be tested by the test device is an embedded system which has hardware components and software components.
  • test service modules implement different optimization or selection criteria or inject different fault patterns.
  • the test apparatus simulates a hardware component test component of the system to be tested, an associated test service module of the hardware component to simulate a configurable hardware component to be tested.
  • test device is integrated in the system to be tested.
  • the invention further provides a test method for efficiently performing system test runs in a system
  • an associated TEST CASE is provided for each use case of the system under test that has a sequence of test steps, where in each case applied a test stimulus to the system under test and characterized corridorge ⁇ called test-response of the system to be tested is checked, wherein the system to be tested is set in a system test run starting from an initial system state in each test ⁇ step of the TEST CASES in another system state until an end system state for the respective TEST CASE is achieved, and
  • the system to be tested is set directly into a specific system state in which, during the test steps of the TEST CASES, until reaching the specific system state, only the associated test stimuli without test-response check are sent to the system to be tested provided that the test responses received in at least one system test run until the system state has been reached are successfully checked.
  • the test procedure generates during the execution of the test procedure.
  • system test runs automatically acceleration test modules and stores them for further system test runs on the respective system to be tested in a repository or a data memory.
  • this test method for system development is carried out by a test device connected to the system to be tested or by a test device integrated in the system to be tested.
  • this test method for system maintenance or system diagnosis is performed by a test device connected to the system under test or integrated in the system to be tested.
  • this test method is carried out for system expansion or, in the case of system modification, by a test device connected to the system to be tested or integrated in the system to be tested.
  • Figure 1 is a diagram showing a test used by the test device of the invention and the invention shown SSE test method for efficiently performing system test runs CASES with a sequence of test steps, with which the system under test is placed in different system states.
  • Fig. 2 is a diagram illustrating various test sequence prefixes and various test sequence postfixes for a system state of the system under test;
  • FIG. 3 is a block diagram showing an embodiment of the test apparatus according to the invention.
  • FIG. 4 shows a diagram illustrating the operation of a test device according to the invention and a test method of the invention by way of exporting approximately ⁇ example.
  • a TEST CASE or use case comprises the sequence of test steps.
  • the system 2 to be tested is set to a different system state in a system test run starting from an initial system state Z 0 in each test step TS of the TEST CAS until an end system state for the respective TEST CASE is reached.
  • a test stimulus is applied to the system 2 to be tested, and a test response of the system 2 to be tested is subsequently checked by the test device 1.
  • the test stimulus may be a simple bit pattern or test bit pattern or certain requests or events to which the system under test 2 is responding.
  • the system 2 to be tested can be a complex technical system, for example a transport vehicle, such as an aircraft, a passenger car or a train. Furthermore, it may be in the system under test 2 to a complex manufacturing facility or a component of a Ener ⁇ giessensnetztechnikes. Another example of a system 2 to be tested is an ordering system, for example wise to order components. Other examples of systems under test are systems for medical Profge- environment, in particular X-ray, magnetic resonance devices, Ult ⁇ raschalloara and Molecular Imaging Devices. Another example of a system 2 to be tested is a system for
  • a system under test 2 is a system for processing and assessing such data, in particular a viewing station, a computer aided diagnosis (PCA) device, or medical service accounting systems.
  • the system 2 to be tested can be a single-user system, a multi-user system, or a networked system, whereby the system can be made available to the user as an integrated system and various functions can be combined with one another.
  • the system can consist of similarly replicated units.
  • the system under test may be a cloud computing system.
  • test step TS forth ⁇ pre called Test Response T-RES is evaluated by the Testvorrich- device 1 and thereby can in a possible embodiment, the obtained test Response T-RES with a expect ⁇ ended target Test Response T-RES are compared. If the received test response T-RES matches the expected target test response, the test response T-RES has been successfully completed.
  • the test device 1 in a first system test run, provides a test sequence which comprises a plurality of test steps TS1, TS2... TSX in order to define the system 2 to be tested in a specific test step. nated system state Z x . To speed up the test stimulus T-STI a test step TS forth ⁇ pre called Test Response T-RES is evaluated by the Testvorrich- device 1 and thereby can in a possible embodiment, the obtained test Response T-RES with a expect ⁇ ended target Test Response T-RES are compared. If the received test response T-RES matches the expected target test response, the test response T-RES has been successfully completed.
  • the test device 1 in a first
  • test device 1 In the case of a test case of the system 2 to be tested, during each further system test run, the test device 1 according to the invention displaces it directly into the predetermined system test run. state Z x , wherein in the test steps TS until reaching the specific system state Z x only the associated test stimuli T-STI without test response verification T-RES are applied to the system under test Z by the test device 1, if that until reaching the determined system state Z x in at least one previous system test run it have already been successfully verified ⁇ preserved test responses on the part of the test device. 1
  • TEST CASES have the same initial sequence or sequence of test steps TS.
  • a sequence of test steps TS of a TEST CASES forms a test sequence prefix starting from an initial system state Zo of the system Z to be tested until it reaches the determined system state.
  • FIG. 2 it is possible to arrive at a system state Z via different paths or sequences of test steps TS.
  • the sequence of test steps of a TEST CASES starting from a specific system state Z x until reaching an end system state forms a test sequence postfix for the respective TEST CASE.
  • the system state Z n has different test sequence postfixes.
  • the respective system under test Z may make in the OF INVENTION ⁇ to the invention test apparatus 1 based on the analysis results in a possible disclosed embodiment, a classification into different equivalence classes. Equivalent is a test system prefix or sequence of test steps TS with another test system prefix if both are determined from an initial system state in the same one System state Z x lead.
  • a Testsystemlessnessfix that meets a certain optimization criterion can be selected for carrying out the tests.
  • the system under test Z x is brought about by the test apparatus 1 in a particular test system state Z by the system 2 system state from an initial starting Zo of the system is set by means of test steps TS of a selected test cases in the particular system state Z x.
  • the selected x TEST CASE for each particular system state Z to an optimum Testse ⁇ quenzgarfix.
  • the optimal Testsystem remplifix a minimum test execution ⁇ permanently until reaching the specific system state Z x.
  • the test system prefix which has the shortest execution duration is selected.
  • the selected TEST CASE has a test sequence prefix for the particular system state that fulfills another optimization criterion.
  • the optimal test sequence prefix of the TEST CASES has a minimal resource requirement for the system Z to be tested.
  • the optimum test sequence ⁇ prefix to a minimum energy requirement, to enable the system to be tested Z in the particular system state Z x.
  • the test device 1 of the invention the test stimuli of the test steps TS, for example, the test bit pattern or sequence of test requests, the optimum Testsequenzoniafix be up to reaching the certain system state Z x as so-called Accelerati ⁇ supply test module for each system status generated by the test device 1.
  • the test steps TS1 be by performing an acceleration test module each time - TSX executed, ie, it does not occur at each test step TS applying a test stimulus T-STI and corresponding check the test response T-RES.
  • the system under test can Z directly by sending or application of the test stimuli T-STI without re-test-response testing in the system state Z x are offset by a corresponding formed acceleration ⁇ test module is loaded and executed.
  • the Be ⁇ admirungstestmodule can be generated by the test apparatus 1 during the period of the test system ⁇ run or prior to the beginning of another system test run.
  • the test device according to the invention 1 or test method of the invention thus form a self-learning system, are generated in the corresponding one of a plurality of system test runs during acceleration test ⁇ module, which are stored in a possible execution form in a repository or a data memory of the test device 1 for further use ,
  • the test device 1 according to the invention thus dynamically builds up a fund of acceleration test modules.
  • the data stored in the repository of the test apparatus 1 Test modules are the runtime of the system test run example as loaded dyna ⁇ mixed by an execution unit of the test apparatus 1 and executed.
  • the test device 1 has a service-oriented architecture SOA.
  • the test device can be connected directly to the system 2 to be tested via a data interface or indirectly connected to the system 2 to be tested via a data network.
  • a service-oriented architecture SOA it is possible to make the individual test steps TS available as service modules by loading them at runtime from a repository into a run-time environment as required and then writing them back again.
  • the various service modules can be combined and entspre ⁇ accordingly controlled the process.
  • the acceleration test modules are either generated in advance or dynamically generated at runtime. riert.
  • the respective acceleration test modules test stimuli T-STI can immediately sen ⁇ . With time-consuming systems 2 to be tested, the acceleration test modules have correspondingly greater complexity.
  • the test device 1 has an execution unit 1A and a repository or a memory 1B.
  • the test device 1 is connected via an interface with a system 2 to be tested.
  • the test device 1 is connected directly to the system 2 to be tested via an interface.
  • the test device 1 is connected to the system 2 to be tested via a data network, for example a bus.
  • the test device 1 according to the invention is integrated in the system 2 to be tested.
  • the execution unit 1A may consist of intelligent scheduling and control.
  • the system 2 to be tested is one
  • Embedded system which includes hardware components and software components.
  • a corresponding test service module provided in the repository 1B of the test apparatus 1 for each component, i. for each hardware or software component of the system to be tested 1 .
  • System 2 may be any complex technical system, for example, a vehicle, an industrial plant or a ⁇ ordering system or the like.
  • the test apparatus 1 as shown in FIG. 3 performs a plurality of system test runs for testing the system 2.
  • an associated TEST CASE is provided by the test device 1 for each USE CASE or application of the system 2 to be tes ⁇ .
  • This TEST CASE comprises a sequence of test steps TS, in each of which a test stimulus T-STI is applied to the system 2 to be tested, and a test response T-RES of the system Z to be tested is checked by the test apparatus.
  • a T-STI may be a data or bit pattern or a sequence of particular requests or events for testing the system 2.
  • test device 1 it is possible to set the system 2 to be tested in a system test run from an initial system state Z 0 in each test step TS of the TEST CASES in another system state until an Endsystemschreib for the respective TEST CASE is achieved.
  • the system under test Z directly treated in a certain system state by the test apparatus 1 by for the test steps to reach the certain or defined system state, only the respective test stimuli without test for Accelerat ⁇ n Trent of every other system test run at a TEST CASE response checking are applied to the system under test 2 by the test device 1, provided to reach the particular system state Z x of the system 2 in min ⁇ least a previous system test run, the test responses T-RES obtained have been successfully checked or in a later system test run be checked successfully.
  • a TEST CASE is at a Moegli ⁇ Chen from selected with a particular or selected optimal Testsequenzgarfix guide form.
  • This selection can be carried out either automatically or by a user or user in accordance with a predetermined optimization criterion.
  • the one Testsequenzoniafix is selected, the x has a minimum Testaus Equipmentszeit- duration until reaching the defi ned ⁇ system state Z.
  • the one optimal Testse ⁇ quenzgarfix can be selected, which has a minimum Res ⁇ source needed for the system to be tested.
  • the optimization or selection criterion can also consist of a combination of essential criteria.
  • the optimization criterion or selection criteria can be calculated from a combination of a criterion "time requirement” and a criterion "energy consumption”. energy requirement exist ".
  • Such a combined selection ⁇ criterion can in particular be formed when two essential criteria such as time required and energy requirements are in conflict with each other. For example, can be used a combined selection criterion, if the system under test 2 at a high speed operation consumes a lot of energy and little energy ver ⁇ needs at a low speed operation.
  • test device of the invention can be used a combination of elementary criteria with addition of a limiting function.
  • the Selekti ⁇ onskriterium are that the energy requirement of the system under test 2 should not exceed a certain threshold and the system to be tested 2 while working as quickly as possible.
  • the system to be tested 2 is brought by the test apparatus 1 in the determined system state Z x, where the system 2, starting from egg ⁇ nem initial system state of the system are added by means of test steps TS of the selected test cases in the certain or predetermined system status Z x is, wherein the selected TEST CASE for each particular system state has the respective optimal test sequence prefix.
  • the test device 1 to a user interface for inputting the optimization criterion or selection of a Testsequenzconcefixes.
  • the test stimuli T-STI of the test steps TS of the optimum Testsequenz josfixes until reaching the particular system state x Z have the acceleration test modules for the respective Systemzu ⁇ stood by the test device 1 is generated and stored in the repo 1B sitory.
  • the acceleration test modules are thereby dynamically generated during the runtime of the system test run in one possible embodiment.
  • the acceleration test modules are preceded by the Test device 1 generated and stored in the repository 1B.
  • the acceleration test modules stored in the repository 1B of the test apparatus 1 are dynamically loaded and executed at runtime of the system test run by the execution unit 1A of the test apparatus 1.
  • the test device 1 tests a system 2 to be tested, for example an embedded system comprising a plurality of hardware and software components.
  • the test apparatus 1 simultaneously tests several gleicharti ⁇ ge or different types to be tested systems 2. Assigns a system under test 2 an error and a defect, can in a possible disclosed embodiment, a corresponding fault leran Attachesignal by the test device 1 generates the ⁇ who.
  • FIG. 4 shows an exemplary embodiment for illustrating the mode of functioning of the test device 1 according to the invention for testing an embedded system 2, which in the illustrated simple example comprises four components, namely two software components SW-K A , SW-K B and two hardware components HW-Kc, HW-K D.
  • the hardware components HW-K may be components, for example a sensor or the like.
  • the hardware component HW-K D consists, for example, of a temperature sensor which measures an ambient temperature T. This temperature sensor is controlled by a corresponding software component SW-K DB in the illustrated example, for example by reading the measured temperature T at certain times.
  • a corresponding test service module may be pre see ⁇ .
  • the Testvor- 1B appropriate software testing service modules SW-SM A, SW-SM B contains device 1 in its repository for testing of both software ⁇ components SW-K A, SW-K B and two hardware test service modules HW-SMc, HW-SM D for testing the corresponding hardware components HW-K C and HW-K D of the system under test 2.
  • ware test service module SW-SM B is applied via an interface an ent ⁇ speaking test stimulus signal T-STI to be tested Ser ⁇ vice component SW-K B which a corresponding test-response signal by the soft- T-RES back via the interface to the test device 1 for evaluation or review.
  • T-STI ent ⁇ speaking test stimulus signal
  • SW-K B test-response signal
  • Software component SW-K B of the embedded system 2 the hardware ⁇ component HW-K D , for example, a temperature sensor.
  • a temperature sensor simulates or . abbil ⁇ det.
  • the service component SW-K B of the system under test 2 which is tested under control of the corresponding test service module SW-SM B, sets appropriate hardware commands or commands that are provided in normal operation for the controlled hardware ⁇ component H-K D, to the corresponding test hardware module HW-SM D , which reacts accordingly and returns a corresponding hardware response HW-RES to the software component SW-K B just tested.
  • the hardware component HW K D of the test system 2 when testing a hardware component in ⁇ play, the hardware component HW K D of the test system 2 to reproduce the behavior by an associated confi ⁇ rierbares hardware test service module HW SM D.
  • the associated one simulates
  • Test hardware service module hardware component example ⁇ as the hardware component HW K D one to be tested confi ⁇ rierbares misconduct of the hardware component HW K D.
  • a malfunctioning of a tem- peratursensors can be tested in a simple manner in this way, without a corresponding manipulation must be pre ⁇ accepted to the real temperature sensor and the corresponding hardware component H-K D.
  • the test Hardware service module HW-SM D configured such that it simulates a malfunction of the sensor, such as a complete failure or incorrectly displayed Tempe ⁇ rature.
  • simulating that of the hardware sensor always outputs a (faulty) temperature of 100 ° C or FEH ⁇ lerhafte temperature of 0 ° C.
  • the real system 2 which includes a corresponding software component SW-K, behaves in a malfunction of a component controlled by the software SW-K hardware component HW-K.
  • test device In one possible embodiment of the test device according to the invention, groups of components are assigned to one or more test modules or test service modules. This plays a role especially when considering coupled error cases. For example, one would like to manipulate not only ei ⁇ ne cooling water temperature by a faulty measurement, but at the same time the position of a corresponding throttle.
  • a test module is provided which is supplied ⁇ assigns a plurality of components and not just a single component within the system to be tested. 2
  • these groups are not similarly constructed from components or structured, wherein in the repository 1B are also different combinatio ⁇ NEN provided.
  • test device In a further possible disclosed embodiment of the test device according to the invention are acceleration test modules per ⁇ wells supplied ⁇ assigns a system component of the system under test 2 or a grouping of system components of the system to be tested. 2
  • test apparatus 1 a set of planned tests or test runs can be input as input data into the test apparatus 1.
  • the possible USE CASES or test cases are analyzed and analyzed for each dene system states of the system under test 2 can Testse ⁇ quenz josfixe and test frequency postfixes, for example by means of an optimization criterion can be determined.
  • a planning of the various tests or test runs can be carried out based on the available test modules, for example by a workflow engine. The required test modules are dynamically loaded, executed and written back or unloaded at runtime.
  • test service modules are software modules that are loaded from a repository 1B of the test device 1.
  • the system 1 to be tested can be brought into an untypical or rare predefined system state or error state by the test device 1 according to the invention. Since ⁇ acceleration test modules are preferably used to complete the displacement of the system Z in this atypical system state Z x in the shortest possible time.
  • the use of a service-oriented architecture SOA for the test device 1 allows modularization and loose coupling.
  • the test apparatus 1 according to the invention has the advantage that test runs can be performed faster by abbreviating and Verknüp ⁇ fen of test modules.
  • the test coverage is increased by the test device 1 according to the invention, since there are many different test paths until a system state is reached. The increase in test coverage can be achieved by considering equivalence classes happen.
  • test device 1 it is possible with the test device 1 according to the invention to specifically achieve system errors or specifically a system behavior of the system 2 to be tested by simulation of hardware / software errors by corresponding software test services loaded from the repository 1B of the test device 1.
  • the test device 1 according to the invention can be used in the development of a system 2 to be tested.
  • the erfindungsge ⁇ Permitted test device can be used even after delivery of the system 2 at a customer for maintenance purposes or in an extension or modification of a system 2.

Abstract

The invention relates to a testing device and a testing method for efficiently carrying out system test runs in a system (Z). For each USE CASE of the system (Z) to be tested, a corresponding TEST CASE is provided by the testing device (1), said TEST CASE having a sequence of test steps (TS), in each of which a test stimulus (T-STI) is applied to the system (Z) to be tested and a resulting test response (T-RES) of the system (Z) to be tested is checked by the testing device. The system (Z) to be tested is shifted into a different system state in each test step of the TEST CASE during a system test run on the basis of a starting system state until an end system state (Zn) for the respective TEST CASE is reached. The system (Z) to be tested is shifted directly into a specific system state (Zx) by the testing device (1) during a TEST CASE in order to expedite each further system test run, wherein only the corresponding test stimuli (T-STI) are applied to the system (Z) to be tested by the testing device (1) without the test response check during the test steps (TS) for reaching the specific system state (Zx) if the test responses (T-RES) obtained up until reaching the specific system state (Zx) in at least one previous system test run have already been successfully checked.

Description

Beschreibung description
Vorrichtung und Verfahren zum effizienten Durchführen von Systerntestlaufen Apparatus and method for efficiently performing system test runs
Die Erfindung betrifft eine Vorrichtung und ein Verfahren zum effizienten Durchführen von Systemtestläufen bei einem System, und insbesondere eine Testvorrichtung in einer service¬ orientierten Architektur zur Steigerung der Testeffizienz. The invention relates to an apparatus and method for efficiently performing system test runs for a system, and more particularly to a test device in a service-oriented architecture ¬ to increase the testing efficiency.
Komplexe technische Systeme, beispielsweise Fertigungsanla¬ gen, Transportfahrzeuge und Energieschutzgeräte oder Bestell¬ systeme können bei ihrer Entwicklung und vor ihrer Auslieferung zum Kunden Systemtestläufen unterzogen werden, um ihre Fehlerfreiheit in allen möglichen Anwendungsfällen bzw. USE CASES zu gewährleisten. Weiterhin kann ein Testen des Systems zu Wartungszwecken oder bei einer Systemerweiterung bzw. Systemveränderung durchgeführt werden. Insbesondere sogenannte „Embedded Systems", die sowohl Hardwarekomponenten als auch Softwarekomponenten umfassen, benötigen mehrere Systemtestläufe, so dass ein Testen von derartigen Embedded Systemen üblicherweise sehr zeitaufwändig ist. Dies gilt insbesondere dann, wenn eine hohe Testabdeckung gefordert ist und Reaktio¬ nen auf Systemfehler, beispielsweise eine Auswahl einer Hardwarekomponente, verifiziert werden müssen. Besonders aufwän¬ dig wird das Testen eines Systems, wenn ein bestimmter Sys¬ temzustand des Systems erst durch eine lange Sequenz von In¬ teraktionen hergestellt werden muss, d.h. die Historie für das jeweilige Systemverhalten des Systems relevant ist. Complex technical systems, such as Fertigungsanla ¬ gen, transport vehicles and power protection equipment or ordering ¬ systems can be subjected to the customer system test runs in their development and before delivery to ensure its correctness in all possible applications or USE CASES. Furthermore, testing of the system may be performed for maintenance or system extension. In particular, so-called "embedded systems", which include both hardware and software components that require more system test runs so that testing of such embedded systems is usually very time-consuming. This is especially true when a high test coverage is required and Reaktio ¬ nen system errors, for example, a selection of a hardware component must be verified. particularly aufwän ¬ dig is the testing of a system when a certain Sys ¬ temzustand of the system must be prepared only by a long sequence of In ¬ teraktionen, that is, the history for the system behavior of the system is relevant.
Es ist daher eine Aufgabe der vorliegenden Erfindung, ein Verfahren und eine Vorrichtung zum effizienten Durchführen von Systemtestläufen bei einem System zu schaffen, bei dem der Zeitaufwand zur Durchführung der Systemtestläufe eines Systems gering ist. It is therefore an object of the present invention to provide a method and apparatus for efficiently performing system test runs in a system where the time required to perform the system test runs of a system is low.
Diese Aufgabe wird erfindungsgemäß durch eine Testvorrichtung mit den im Patentanspruch 1 angegebenen Merkmalen gelöst. Die Erfindung schafft eine Testvorrichtung zum effizienten Durchführen von Systemtestläufen bei einem System, This object is achieved by a test device with the features specified in claim 1. The invention provides a test apparatus for efficiently performing system test runs in a system,
wobei für jeden USE CASE des zu testenden Systems ein zugehöriger TEST CASE durch die Testvorrichtung bereitgestellt wird, der eine Sequenz von Testschritten aufweist, in denen jeweils ein Teststimulus an das zu testende System an¬ gelegt und eine dadurch hervorgerufene Test-Response des zu testenden Systems durch die Testvorrichtung überprüft wird, wobei das zu testende System in einem Systemtestlauf ausgehend von einem Anfangssystemzustand des zu testenden Systems bei jedem Testschritt des TEST CASES in einen anderen Systemzustand versetzt wird, bis ein Endsystemzustand des zu testenden Systems für den jeweiligen TEST CASE erreicht wird, wobei zur Beschleunigung jedes weiteren Systemtestlaufs bei einem TEST CASE das zu testende System direkt in einen bestimmten Systemzustand durch die Testvorrichtung versetzt wird, indem bei den Testschritten zum Erreichen des bestimmten Systemzustandes nur die zugehörigen Teststimuli ohne eine Test-Responseüberprüfung an das zu testende System durch die Testvorrichtung angelegt werden, sofern die bis zum Erreichen des bestimmten Systemzustandes in mindestens einem anderen Systemtestlauf erhaltenen Test-Responses erfolgreich über¬ prüft werden. wherein an associated TEST CASE provided by the test device for each use case of the system under test that has a sequence of test steps, where each placed a test stimulus to the system under test at ¬ and caused thereby test response of the system to be tested is checked by the test apparatus, wherein the system to be tested is placed in a system test run from an initial system state of the system to be tested in each test step of the TEST CASES in another system state until an end system state of the system under test for the respective TEST CASE is achieved wherein in order to accelerate each further system test run in a TEST CASE, the system to be tested is set directly into a specific system state by the test device, in the test steps to reach the determined system state, only the associated test stimuli without a test response check to the Sy be created by the test device, provided that the test responses received until reaching the specific system state in at least one other system test run successfully over ¬ checked.
Bei dem anderen Systemtestlauf kann es sich um einen vorherigen Systemtestlauf handeln, in welchem die erhaltenen Test- Responses bereits erfolgreich überprüft wurden. Die erfindungsgemäße Testvorrichtung ermöglicht somit eine Steigerung der Testeffizienz durch eine Modularisierung der TEST CASES bzw. Anwendungsfälle des zu testenden Systems mit Sequenzen von Testschritten. Bei einer möglichen Aus führungs form der erfindungsgemäßenThe other system test run may be a previous system test run in which the test responses received have already been successfully checked. The test device according to the invention thus makes it possible to increase the test efficiency by modularizing the TEST CASES or applications of the system to be tested with sequences of test steps. In one possible embodiment of the invention
Testvorrichtung bildet eine Sequenz von Testschritten eines TEST CASES ausgehend von dem Anfangssystemzustand des Systems bis zum Erreichen des bestimmten Systemzustandes einen Test- sequenzpräfix . Test device forms a sequence of test steps of a TEST CASES starting from the initial system state of the system until the specific system state has been reached, a test sequence prefix.
Bei einer Aus führungs form der erfindungsgemäßen Testvorrichtung bildet eine Sequenz von Testschritten von TEST CASES ausgehend von dem bestimmten Systemzustand bis zum Erreichen des Endsystemzustandes für den jeweiligen TEST CASE einen Testsequenzpostfix . In one embodiment of the test device according to the invention, a sequence of test steps of TEST CASES forms a test sequence postfix starting from the determined system state until reaching the end system state for the respective TEST CASE.
Durch die Identifikation von gemeinsamen Testsequenzpräfixen und Testsequenzpostfixen ermöglicht die erfindungsgemäße Testvorrichtung eine optimierte Ablaufplanung, die das gezielte Laden von Testmodulen, welche eine Menge bzw. Sequenz von Testschritten ausführen, um das zu testende System in einen definierten Systemzustand zu bringen, erlaubt. By identifying common test sequence prefixes and test sequence postfixes, the test device of the present invention enables optimized scheduling that allows the targeted loading of test modules that execute a set or sequence of test steps to bring the system under test to a defined system state.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung wird das zu testende System durch die Testvorrichtung in den bestimmten bzw. definierten Systemzustand gebracht, indem das System ausgehend von dem Anfangssystemzu- stand des zu testenden Systems mittels Testschritten eines selektierten TEST CASES in den bestimmten Systemzustand versetzt wird, wobei der selektierte TEST CASE für den jeweili¬ gen bestimmten Systemzustand ein optimales Testsequenzpräfix aufweist . In one possible embodiment of the test device according to the invention, the system to be tested is brought into the defined or system state by the test device by setting the system into the determined system state by means of test steps of a selected TEST CAS, starting from the initial system state of the system to be tested is where said selected TEST CASE having an optimum Testsequenzpräfix for jeweili ¬ gen particular system state.
Durch die erfindungsgemäße Testvorrichtung wird somit ein TEST CASE anhand eines bestimmten Selektionskriteriums für ein optimales Testsequenzpräfix des TEST CASES selektiert. The test device according to the invention thus selects a TEST CASE on the basis of a specific selection criterion for an optimal test sequence prefix of the TEST CAS.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung weist das optimale Testsequenzpräfix eine mi¬ nimale Testausführungsdauer bis zum Erreichen des bestimmten Systemzustandes des zu testenden Systems auf. In a possible disclosed embodiment of the test device according to the invention, the optimal Testsequenzpräfix a mi ¬ nimale test execution time to achieve the specific system state of the system under test.
Bei einer weiteren Aus führungs form weist das optimale Testsequenzpräfix einen minimalen Ressourcenbedarf für das zu tes- tende System bis zum Erreichen des bestimmten Systemzustande des zu testenden Systems auf. In another embodiment, the optimal test sequence prefix has a minimum resource requirement for the test. until the system state of the system under test is reached.
Bei einer möglichen Aus führungs form weist dabei die erfindungsgemäße Testvorrichtung einen minimalen Energiebedarf bi zum Erreichen des bestimmten Systemzustandes auf. In one possible embodiment, the test device according to the invention has a minimum energy requirement bi for achieving the specific system state.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung wird ein TEST CASE anhand einer Kombination von Selektionskriterien selektiert. Eine Kombination von Selektionskriterien wird insbesondere dann verwendet, wenn her kömmliche Selektionskriterien, wie Zeitbedarf und Energiebedarf, in Konflikt stehen, beispielsweise falls das zu testen de System bei schnellem Betrieb viel Energie verbraucht und bei langsamem Betrieb wenig Energie verbraucht. In one possible embodiment of the test device according to the invention, a TEST CASE is selected on the basis of a combination of selection criteria. A combination of selection criteria is used in particular when conventional selection criteria, such as time requirements and energy requirements, conflict, for example if the system to be tested consumes a lot of energy during fast operation and consumes little energy during slow operation.
Bei einer möglichen Aus führungs form wird eine gewichtete Sum me von Selektionskriterien bzw. eine Kombination von elementaren Selektionskriterien verwendet. In one possible embodiment, a weighted sum of selection criteria or a combination of elementary selection criteria is used.
Bei einer weiteren möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung wird eine Kombination von Selektions kriterien mit einer begrenzenden Funktion zur Selektion verwendet. Beispielsweise kann das kombinierte Selektionskrite¬ rium darin bestehen, dass das zu testende System einen vorbe stimmten Energiebedarf nicht überschreiten darf und gleichzeitig möglichst schnell arbeiten soll. In another possible embodiment of the test device according to the invention, a combination of selection criteria with a limiting function for selection is used. For example, the combined Selektionskrite ¬ criterion may be that the system under test approved a vorbe must not exceed energy requirements and at the same time is to work as quickly as possible.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung werden die Teststimuli der Testschritte des optimalen Testsequenzpräfixes bis zum Erreichen des bestimmten Systemzustandes als Beschleunigungstestmodule für den je weiligen Systemzustand durch die Testvorrichtung generiert. In one possible embodiment of the test device according to the invention, the test stimuli of the test steps of the optimal test sequence prefix are generated by the test device until the system state has been reached as acceleration test modules for the respective system state.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung werden die Beschleunigungstestmodule während der Laufzeit des Systemtestlaufs durch die Testvorrichtung generiert . Bei einer weiteren möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung werden die Beschleunigungstestmodule vor Beginn eines weiteren Systemtestlaufs durch die Testvorrichtung generiert. In one possible embodiment of the test device according to the invention, the acceleration test modules are generated by the test device during the runtime of the system test run. In another possible embodiment of the test device according to the invention, the acceleration test modules are generated by the test device before the beginning of a further system test run.
Bei einer Aus führungs form der erfindungsgemäßen Testvorrichtung werden die generierten Beschleunigungstestmodule in ei¬ nem Repository bzw. einem Speicher der Testvorrichtung zur weiteren Verwendung gespeichert. In one disclosed embodiment, the test device of the invention, the generated acceleration test modules in egg ¬ nem repository or a memory of the test device for further use to be stored.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung werden die in dem Repository der Testvorrichtung gespeicherten Beschleunigungstestmodule zur Laufzeit des Systemtestlaufs bei einer Ausführeinheit der Testvorrichtung dynamisch geladen und ausgeführt. In one possible embodiment of the test device according to the invention, the acceleration test modules stored in the repository of the test device are dynamically loaded and executed at run time of the system test run at an execution unit of the test device.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung weist die Testvorrichtung eine serviceorientierte Architektur auf. In one possible embodiment of the test device according to the invention, the test device has a service-oriented architecture.
Bei einer möglichen Ausführungsform der erfindungsgemäßen Testvorrichtung ist die Testvorrichtung über eine Daten- schnittsteile direkt an das zu testende System angeschlossen. In one possible embodiment of the test device according to the invention, the test device is connected via a data interface parts directly to the system to be tested.
Bei einer alternativen Aus führungs form der erfindungsgemäßen Testvorrichtung ist die Testvorrichtung über ein Datennetzwerk an das zu testende System angeschlossen. In an alternative embodiment of the test device according to the invention, the test device is connected to the system to be tested via a data network.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung ist das durch die Testvorrichtung zu testende System ein Embedded System, welches Hardwarekomponenten und Softwarekomponenten aufweist, In one possible embodiment of the test device according to the invention, the system to be tested by the test device is an embedded system which has hardware components and software components.
wobei in dem Repository der Testvorrichtung für jede Komponente, d.h. für jede Hardwarekomponente und jede Soft¬ warekomponente des zu testenden Systems mindestens ein ent¬ sprechendes Test-Servicemodul vorgesehen ist. Es ist möglich, dass die Test-Servicemodule unterschiedliche Optimierungs- bzw. Selektionskriterien realisieren oder unterschiedliche Fehlerbilder injizieren. Bei einer möglichen Aus führungs form der erfindungsgemäßenwherein in the repository of the test device for each component, ie for each hardware component and each software component ¬ software component of the system to be tested at least one ent ¬ speaking test service module is provided. It is possible that the test service modules implement different optimization or selection criteria or inject different fault patterns. In one possible embodiment of the invention
Testvorrichtung simuliert zum Testen einer Hardwarekomponente des zu testenden Systems ein zugehöriges Test-Servicemodul der Hardwarekomponente ein zu testendes konfigurierbares Fehlverhalten der Hardwarekomponente. The test apparatus simulates a hardware component test component of the system to be tested, an associated test service module of the hardware component to simulate a configurable hardware component to be tested.
Bei einer weiteren möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung ist die Testvorrichtung in dem zu testenden System integriert. Die Erfindung schafft ferner ein Testverfahren zum effizienten Durchführen von Systemtestläufen bei einem System, In another possible embodiment of the test device according to the invention, the test device is integrated in the system to be tested. The invention further provides a test method for efficiently performing system test runs in a system,
wobei für jeden USE CASE des zu testenden Systems ein zugehöriger TEST CASE bereitgestellt wird, der eine Sequenz von Testschritten aufweist, in denen jeweils ein Teststimulus an das zu testende System angelegt und eine dadurch hervorge¬ rufene Test-Response des zu testenden Systems überprüft wird, wobei das zu testende System in einem Systemtestlauf ausgehend von einem Anfangssystemzustand bei jedem Test¬ schritt des TEST CASES in einen anderen Systemzustand ver- setzt wird, bis ein Endsystemzustand für den jeweiligen TEST CASE erreicht wird, und wherein an associated TEST CASE is provided for each use case of the system under test that has a sequence of test steps, where in each case applied a test stimulus to the system under test and characterized hervorge ¬ called test-response of the system to be tested is checked, wherein the system to be tested is set in a system test run starting from an initial system state in each test ¬ step of the TEST CASES in another system state until an end system state for the respective TEST CASE is achieved, and
wobei zur Beschleunigung jedes weiteren Systemtestlaufs bei einem TEST CASE das zu testende System direkt in einen bestimmten Systemzustand versetzt wird, indem bei den Test- schritten des TEST CASES bis zum Erreichen des bestimmten Systemzustandes nur die zugehörigen Teststimuli ohne Test- Responseüberprüfung an das zu testende System angelegt werden, sofern die bis zum Erreichen des bestimmten Systemzustandes in mindestens einem Systemtestlauf erhaltenen Test- Responses erfolgreich geprüft werden.  wherein, in order to accelerate each further system test run in a TEST CASE, the system to be tested is set directly into a specific system state in which, during the test steps of the TEST CASES, until reaching the specific system state, only the associated test stimuli without test-response check are sent to the system to be tested provided that the test responses received in at least one system test run until the system state has been reached are successfully checked.
Bei einer möglichen Aus führungs form des erfindungsgemäßen Testverfahrens generiert das Testverfahren bei der Durchfüh- rung von Systemtestläufen automatisch Beschleunigungstestmodule und speichert diese für weitere Systemtestläufe an dem jeweiligen zu testenden System in einem Repository bzw. einem Datenspeicher . In one possible embodiment of the test method according to the invention, the test procedure generates during the execution of the test procedure. system test runs automatically acceleration test modules and stores them for further system test runs on the respective system to be tested in a repository or a data memory.
Bei einer weiteren möglichen Aus führungs form des erfindungsgemäßen Testverfahrens wird dieses Testverfahren zur Systementwicklung durch eine mit dem zu testenden System verbundene oder durch eine in dem zu testenden System integrierte Testvorrichtung ausgeführt. In another possible embodiment of the test method according to the invention, this test method for system development is carried out by a test device connected to the system to be tested or by a test device integrated in the system to be tested.
Bei einer weiteren mögliche: Aus führungs form des erfindungs- gemäßen Testverfahrens wird dieses Testverfahren zur System- Wartung oder Systemdiagnose durch eine mit dem zu testenden System verbundene oder eine in dem zu testenden System integ- rierte Testvorrichtung ausg' führt . In another possible embodiment of the test method according to the invention, this test method for system maintenance or system diagnosis is performed by a test device connected to the system under test or integrated in the system to be tested.
Bei einer weiteren möglichen Aus führungs form des erfindungsgemäßen Testverfahrens wird dieses Testverfahren zur Systemerweiterung bzw. bei Systemveränderung durch eine mit dem zu testenden System verbundene oder eine in dem zu testenden System integrierte Testvorrichtung ausgeführt. In another possible embodiment of the test method according to the invention, this test method is carried out for system expansion or, in the case of system modification, by a test device connected to the system to be tested or integrated in the system to be tested.
Im Weiteren werden Aus führungs formen des erfindungsgemäßen Verfahrens und der erfindungsgemäßen Vorrichtung zum effizienten Durchführen von Systemtestläufen bei einem System ter Bezugnahme auf die beigefügten Figuren beschreiben. In the following, embodiments of the method according to the invention and the device according to the invention for the efficient performance of system test runs in a system will be described with reference to the attached figures.
Es zeigen: Show it:
Fig. 1 ein Diagramm zur Darstellung eines durch die erfindungsgemäße Testvorrichtung und das erfindungsgemä¬ ße Testverfahren zum effizienten Durchführen von Systemtestläufen eingesetzten TEST CASES mit einer Sequenz von Testschritten, mit denen das zu testende System in verschiedene Systemzustände versetzt wird; Fig. 2 ein Diagramm zur Darstellung verschiedener Testsequenzpräfixe und verschiedener Testsequenzpostfixe für einen Systemzustand des zu testenden Systems; Figure 1 is a diagram showing a test used by the test device of the invention and the invention shown SSE test method for efficiently performing system test runs CASES with a sequence of test steps, with which the system under test is placed in different system states. Fig. 2 is a diagram illustrating various test sequence prefixes and various test sequence postfixes for a system state of the system under test;
Fig. 3 ein Blockdiagramm zur Darstellung einer Ausführungsform der erfindungsgemäßen Testvorrichtung; 3 is a block diagram showing an embodiment of the test apparatus according to the invention;
Fig.4 ein Diagramm zur Darstellung der Funktionsweise einer erfindungsgemäßen Testvorrichtung und eines erfindungsgemäßen Testverfahrens anhand eines Ausfüh¬ rungsbeispiels . 4 shows a diagram illustrating the operation of a test device according to the invention and a test method of the invention by way of exporting approximately ¬ example.
Wie man aus Fig. 1 erkennen kann, kann für jeden USE CASE bzw. vorbestimmten Anwendungsfall des zu testenden Systems 2 ein entsprechender zugehöriger TEST CASE bzw. Testfall durch eine erfindungsgemäße Testvorrichtung 1, wie sie in Figur 3 dargestellt ist, bereitgestellt werden. Wie man aus Fig. 1 erkennen kann, umfasst ein TEST CASE bzw. Anwendungsfall die Sequenz von Testschritten. Dabei wird das zu testende System 2 in einem Systemtestlauf ausgehend von einem Anfangssystem- zustand Z0 bei jedem Testschritt TS des TEST CASES in einen anderen Systemzustand versetzt, bis ein Endsystemzustand für den jeweiligen TEST CASE erreicht wird. Bei jedem Testschritt TS des TEST CASES wird jeweils ein Teststimulus an das zu testende System 2 angelegt und eine dadurch hervorgerufene Test-Response des zu testenden Systems 2 anschließend durch die Testvorrichtung 1 überprüft. Bei einem Anwendungsfall kann es sich bei dem Teststimulus um ein einfaches Bitmuster bzw. Test-Bitmuster handeln oder um bestimmte Requests bzw. Events, auf die das zu testende System 2 reagiert. As can be seen from FIG. 1, for each USE CASE or predetermined application of the system 2 to be tested, a corresponding associated TEST CASE or test case can be provided by a test device 1 according to the invention, as shown in FIG. As can be seen from FIG. 1, a TEST CASE or use case comprises the sequence of test steps. In this case, the system 2 to be tested is set to a different system state in a system test run starting from an initial system state Z 0 in each test step TS of the TEST CAS until an end system state for the respective TEST CASE is reached. For each test step TS of the TEST CAS, a test stimulus is applied to the system 2 to be tested, and a test response of the system 2 to be tested is subsequently checked by the test device 1. In one application, the test stimulus may be a simple bit pattern or test bit pattern or certain requests or events to which the system under test 2 is responding.
Bei dem zu testenden System 2 kann es sich um ein komplexes technisches System handeln, beispielsweise ein Transportfahrzeug, etwa ein Flugzeug, Personenkraftwagen oder ein Zug. Weiterhin kann es sich bei dem zu testenden System 2 um eine komplexe Fertigungsanlage oder um eine Komponente eines Ener¬ gieversorgungsnetzwerkes handeln. Ein weiteres Beispiel für ein zu testendes System 2 ist ein Bestellsystem, beispiels- weise zur Bestellung von Komponenten. Weitere Beispiele für zu testende Systeme sind Systeme zur medizinischen Bildge- bung, insbesondere Röntgengeräte, Magnetresonanzgeräte, Ult¬ raschallgeräte und molekulare Bildgebungsgeräte . Ein weiteres Beispiel für ein zu testendes System 2 ist ein System zurThe system 2 to be tested can be a complex technical system, for example a transport vehicle, such as an aircraft, a passenger car or a train. Furthermore, it may be in the system under test 2 to a complex manufacturing facility or a component of a Ener ¬ gieversorgungsnetzwerkes. Another example of a system 2 to be tested is an ordering system, for example wise to order components. Other examples of systems under test are systems for medical Bildge- environment, in particular X-ray, magnetic resonance devices, Ult ¬ raschallgeräte and Molecular Imaging Devices. Another example of a system 2 to be tested is a system for
Speicherung und Archivierung von medizinischen Daten, insbesondere Bilddaten, Befunddaten, Diagnosedaten sowie beispielsweise Behandlungsplänen. Ein weiteres Beispiel für ein zu testendes System 2 ist ein System zur Bearbeitung und zur Beurteilung solcher Daten, insbesondere eine Viewing Station, ein Gerät zur Durchführung von computerunterstützten Diagnosen (Computer aided diagnosis) oder etwa Abrechnungssysteme für medizinische Leistungen. Bei dem zu testenden System 2 kann es sich um ein Einzelplatzsystem, ein Mehrplatzsystem, aber auch um ein vernetztes System handeln, wobei das System dem Benutzer als ein integriertes System zur Verfügung gestellt werden kann und verschiedene Funktionen miteinander kombiniert werden. Weiterhin kann das System aus gleichartig replizierten Einheiten bestehen. Beispielsweise kann es sich bei dem zu testenden System um ein Cloud Computing System handeln . Storage and archiving of medical data, in particular image data, diagnostic data, diagnostic data and, for example, treatment plans. Another example of a system under test 2 is a system for processing and assessing such data, in particular a viewing station, a computer aided diagnosis (PCA) device, or medical service accounting systems. The system 2 to be tested can be a single-user system, a multi-user system, or a networked system, whereby the system can be made available to the user as an integrated system and various functions can be combined with one another. Furthermore, the system can consist of similarly replicated units. For example, the system under test may be a cloud computing system.
Die durch den Teststimulus T-STI eines Testschrittes TS her¬ vorgerufene Test-Response T-RES wird durch die Testvorrich- tung 1 ausgewertet und dabei kann bei einer möglichen Ausführungsform die erhaltene Test-Response T-RES mit einer erwar¬ teten Soll-Test-Response T-RES verglichen werden. Stimmt die erhaltene Test-Response T-RES mit der erwarteten Soll-Test- Response überein, ist die Überprüfung der erhaltenen Test- Response T-RES erfolgreich abgeschlossen. Bei dem in Fig. 1, Fig. 3 dargestellten Beispiel stellt die erfindungsgemäße Testvorrichtung 1 in einem ersten Systemtestlauf eine Testsequenz bereit, die mehrere Testschritte TS1, TS2... TSX um- fasst, um das zu testende System 2 in einem bestimmten defi- nierten Systemzustand Zx zu bringen. Zur Beschleunigung desBy the test stimulus T-STI a test step TS forth ¬ pre called Test Response T-RES is evaluated by the Testvorrich- device 1 and thereby can in a possible embodiment, the obtained test Response T-RES with a expect ¬ ended target Test Response T-RES are compared. If the received test response T-RES matches the expected target test response, the test response T-RES has been successfully completed. In the example shown in FIG. 1, FIG. 3, in a first system test run, the test device 1 according to the invention provides a test sequence which comprises a plurality of test steps TS1, TS2... TSX in order to define the system 2 to be tested in a specific test step. nated system state Z x . To speed up the
Testvorganges versetzt bei jedem weiteren Systemtestlauf die erfindungsgemäße Testvorrichtung 1 bei einem TEST CASE des zu testenden Systems 2dieses direkt in den vorbestimmten System- zustand Zx, wobei bei den Testschritten TS bis zum Erreichen des bestimmten Systemzustandes Zx nur noch die zugehörigen Teststimuli T-STI ohne Test-Responseüberprüfung T-RES an das zu testende System Z durch die Testvorrichtung 1 angelegt werden, sofern die bis zum Erreichen des bestimmten Systemzustandes Zx in mindestens einem vorherigen Systemtestlauf er¬ haltenen Test-Responses seitens der Testvorrichtung 1 bereits erfolgreich überprüft wurden. In the case of a test case of the system 2 to be tested, during each further system test run, the test device 1 according to the invention displaces it directly into the predetermined system test run. state Z x , wherein in the test steps TS until reaching the specific system state Z x only the associated test stimuli T-STI without test response verification T-RES are applied to the system under test Z by the test device 1, if that until reaching the determined system state Z x in at least one previous system test run it have already been successfully verified ¬ preserved test responses on the part of the test device. 1
In vielen Fällen weisen TEST CASES die gleiche Anfangssequenz bzw. Sequenz von Testschritten TS auf. Dabei bildet eine Sequenz von Testschritten TS eines TEST CASES ausgehend von einem Anfangssystemzustand Zo des zu testenden Systems Z bis zum Erreichen des bestimmten Systemzustandes ein Testsequenzpräfix. Wie man aus Fig. 2 erkennen kann, kann man zu einem Systemzustand Z über unterschiedliche Wege bzw. Sequenzen von Testschritten TS gelangen. Bei dem in Fig. 2 dargestellten Beispiel gibt es m verschiedene Testsequenzpräfixe, um in den Systemzustand Z zu gelangen. Weiterhin kann man den Systemzustand Z, wie in Fig. 2 dargestellt, über verschiedene Wege bzw. Sequenzen von Testschritten TS verlassen. Die Sequenz von Testschritten eines TEST CASES ausgehend von einem bestimmten Systemzustand Zx bis zum Erreichen eines Endsystem- zustandes bildet für den jeweiligen TEST CASE einen Testsequenzpostfix . Bei dem in Fig. 2 dargestellten Beispiel weist der Systemzustand Z n verschiedene Testsequenzpostfixe auf. In many cases, TEST CASES have the same initial sequence or sequence of test steps TS. In this case, a sequence of test steps TS of a TEST CASES forms a test sequence prefix starting from an initial system state Zo of the system Z to be tested until it reaches the determined system state. As can be seen from FIG. 2, it is possible to arrive at a system state Z via different paths or sequences of test steps TS. In the example shown in FIG. 2, there are m different test sequence prefixes to enter the system state Z. Furthermore, one can leave the system state Z, as shown in Fig. 2, via different paths or sequences of test steps TS. The sequence of test steps of a TEST CASES starting from a specific system state Z x until reaching an end system state forms a test sequence postfix for the respective TEST CASE. In the example shown in FIG. 2, the system state Z n has different test sequence postfixes.
Bei der erfindungsgemäßen Testvorrichtung 1 wird ausgehend von möglichen Systemzuständen des zu testenden Systems 2 eine Analyse über die möglichen Testsystempräfixe und Testsystem- postfixe über die verschiedenen Systemzustände Z durchge¬ führt. Das jeweilige zu testende System Z kann bei der erfin¬ dungsgemäßen Testvorrichtung 1 basierend auf den Analyseergebnissen bei einer möglichen Aus führungs form eine Einteilung in verschiedene Äquivalenzklassen vornehmen. Äquivalent ist ein Testsystempräfix bzw. eine Sequenz von Testschritten TS mit einem anderen Testsystempräfix dann, wenn beide ausgehend von einem Anfangssystemzustand in den gleichen bestimmten Systemzustand Zx führen. Zum Erreichen eines bestimmten Systemzustands Zx kann für die Durchführung des Tests ein belie¬ biges äquivalentes Testsystempräfix ausgewählt werden, insbe¬ sondere ein Testsystempräfix, der ein bestimmtes Optimie- rungskriterium erfüllt. Das zu testende System Z wird durch die Testvorrichtung 1 in einen bestimmten Testsystemzustand Zx gebracht, indem das System 2 ausgehend von einem Anfangs- systemzustand Zo des Systems mittels Testschritten TS eines selektierten TEST CASES in den bestimmten Systemzustand Zx versetzt wird. Dabei weist der selektierte TEST CASE für den jeweiligen bestimmten Systemzustand Zx ein optimales Testse¬ quenzpräfix auf. Bei einer möglichen Aus führungs form weist das optimale Testsystempräfix eine minimale Testausführungs¬ dauer bis zum Erreichen des bestimmten Systemzustandes Zx auf. Es wird bei dieser Aus führungs form derjenige Testsystempräfix ausgewählt, der die kürzeste Ausführungsdauer hat. Bei weiteren möglichen Aus führungs formen weist der selektierte TEST CASE für den bestimmten Systemzustand ein Testsequenzpräfix auf, das ein anderes Optimierungskriterium erfüllt. Beispielsweise weist das optimale Testsequenzpräfix des TEST CASES einen minimalen Ressourcenbedarf für das zu testende System Z auf. Beispielsweise weist das optimale Testsequenz¬ präfix einen minimalen Energiebedarf auf, um das zu testende System Z in den jeweiligen bestimmten Systemzustand Zx zu versetzen. In the inventive test apparatus 1, an analysis of the possible Testsystempräfixe and Testsystem-, starting from possible system states of the system under test 2 post fixed on the various system states Z Runaway ¬ leads. The respective system under test Z may make in the OF INVENTION ¬ to the invention test apparatus 1 based on the analysis results in a possible disclosed embodiment, a classification into different equivalence classes. Equivalent is a test system prefix or sequence of test steps TS with another test system prefix if both are determined from an initial system state in the same one System state Z x lead. To achieve a specific system state Z x is a belie ¬ biges equivalent Testsystempräfix in particular ¬ sondere a Testsystempräfix that meets a certain optimization criterion can be selected for carrying out the tests. The system under test Z x is brought about by the test apparatus 1 in a particular test system state Z by the system 2 system state from an initial starting Zo of the system is set by means of test steps TS of a selected test cases in the particular system state Z x. In this case, the selected x TEST CASE for each particular system state Z to an optimum Testse ¬ quenzpräfix. In a possible disclosed embodiment, the optimal Testsystempräfix a minimum test execution ¬ permanently until reaching the specific system state Z x. In this embodiment, the test system prefix which has the shortest execution duration is selected. In further possible embodiments, the selected TEST CASE has a test sequence prefix for the particular system state that fulfills another optimization criterion. For example, the optimal test sequence prefix of the TEST CASES has a minimal resource requirement for the system Z to be tested. For example, the optimum test sequence ¬ prefix to a minimum energy requirement, to enable the system to be tested Z in the particular system state Z x.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung 1 werden die Teststimuli der Testschritte TS, beispielsweise die Test-Bitmuster oder die Folge von Test- Requests, des optimalen Testsequenzpräfix bis zum Erreichen des bestimmten Systemzustandes Zx als sogenannte Beschleuni¬ gungstestmodule für den jeweiligen Systemzustand durch die Testvorrichtung 1 generiert. Um das zu testende System Z bei¬ spielsweise in einen Systemzustand Zx zu versetzen, werden durch Ausführen eines Beschleunigungstestmoduls nicht jedes Mal die Testschritte TS1 - TSX ausgeführt, d.h. es erfolgt nicht bei jedem Testschritt TS das Anlegen eines Teststimulus T-STI und entsprechende Überprüfung der Test-Response T-RES . Sind einmal erfolgreich m einem vorangehenden Systemtestlau die Test-Responses T-RES durch die Testvorrichtung 1 erfolg¬ reich geprüft worden, kann das zu testende System Z direkt durch Senden bzw. Anlegen der Teststimuli T-STI ohne erneute Test-Responseüberprüfung in den Systemzustand Zx versetzt werden, indem ein entsprechendes gebildetes Beschleunigungs¬ testmodul geladen und ausgeführt wird. Dabei können die Be¬ schleunigungstestmodule während der Laufzeit des Systemtest¬ laufs oder vor Beginn eines weiteren Systemtestlaufs durch die Testvorrichtung 1 generiert werden. Die erfindungsgemäße Testvorrichtung 1 bzw. das erfindungsgemäße Testverfahren bilden somit ein selbstlernendes System, in dem im Zuge von mehreren Systemtestläufen entsprechende Beschleunigungstest¬ module generiert werden, die bei einer möglichen Ausführungs form in einem Repository bzw. einem Datenspeicher der Testvorrichtung 1 zur weiteren Verwendung gespeichert werden. Di erfindungsgemäße Testvorrichtung 1 baut sich auf diese Weise einen Fundus von Beschleunigungstestmodulen dynamisch auf. Die in dem Repository der Testvorrichtung 1 gespeicherten Testmodule werden zur Laufzeit des Systemtestlaufs beispiels weise durch eine Ausführeinheit der Testvorrichtung 1 dyna¬ misch geladen und ausgeführt. In a possible disclosed embodiment, the test device 1 of the invention, the test stimuli of the test steps TS, for example, the test bit pattern or sequence of test requests, the optimum Testsequenzpräfix be up to reaching the certain system state Z x as so-called Accelerati ¬ supply test module for each system status generated by the test device 1. To ¬ play to enable the system to be tested Z when in a system state Z x, the test steps TS1 be by performing an acceleration test module each time - TSX executed, ie, it does not occur at each test step TS applying a test stimulus T-STI and corresponding check the test response T-RES. Are once successfully m the test responses T-RES been tested success ¬ rich by the testing device 1 to any preceding Systemtestlau, the system under test can Z directly by sending or application of the test stimuli T-STI without re-test-response testing in the system state Z x are offset by a corresponding formed acceleration ¬ test module is loaded and executed. The Be ¬ schleunigungstestmodule can be generated by the test apparatus 1 during the period of the test system ¬ run or prior to the beginning of another system test run. The test device according to the invention 1 or test method of the invention thus form a self-learning system, are generated in the corresponding one of a plurality of system test runs during acceleration test ¬ module, which are stored in a possible execution form in a repository or a data memory of the test device 1 for further use , The test device 1 according to the invention thus dynamically builds up a fund of acceleration test modules. The data stored in the repository of the test apparatus 1 Test modules are the runtime of the system test run example as loaded dyna ¬ mixed by an execution unit of the test apparatus 1 and executed.
Bei einer möglichen Ausführungs form der erfindungsgemäßen Testvorrichtung 1 weist die Testvorrichtung 1 eine serviceorientierte Architektur SOA auf. Dabei kann die Testvorrichtung über eine Datenschnittstelle direkt an das zu testende System 2 angeschlossen sein oder über ein Datennetzwerk indi rekt mit dem zu testenden System 2 verbunden sein. Durch den Einsatz einer serviceorientierten Architektur SOA ist es mög lieh, die einzelnen Testschritte TS als Servicemodule zur Verfügung zu stellen, indem diese zur Laufzeit aus einem Repository in eine Run Time-Environment bedarfsorientiert gela den und anschließend wieder zurückgeschrieben werden. Mit ei ner SOA-basierten Workflow Engine können die verschiedenen Servicemodule miteinander kombiniert und der Ablauf entspre¬ chend gesteuert werden. Die Beschleunigungstestmodule werden entweder vorab generiert oder zur Laufzeit dynamisch gene- riert. Bei einer möglichen Aus führungs form können die jeweiligen Beschleunigungstestmodule Teststimuli T-STI sofort sen¬ den. Bei zeitbehafteten zu testenden Systemen 2 haben die Beschleunigungstestmodule eine entsprechend höhere Komplexität. In one possible embodiment of the test device 1 according to the invention, the test device 1 has a service-oriented architecture SOA. In this case, the test device can be connected directly to the system 2 to be tested via a data interface or indirectly connected to the system 2 to be tested via a data network. By using a service-oriented architecture SOA, it is possible to make the individual test steps TS available as service modules by loading them at runtime from a repository into a run-time environment as required and then writing them back again. With egg ner SOA-based workflow engine, the various service modules can be combined and entspre ¬ accordingly controlled the process. The acceleration test modules are either generated in advance or dynamically generated at runtime. riert. In a possible disclosed embodiment, the respective acceleration test modules test stimuli T-STI can immediately sen ¬. With time-consuming systems 2 to be tested, the acceleration test modules have correspondingly greater complexity.
Fig. 3 zeigt ein Blockschaubild zur Darstellung eines Ausführungsbeispiels der erfindungsgemäßen Testvorrichtung 1. Wie man aus Fig. 3 erkennen kann, weist die Testvorrichtung 1 eine Ausführeinheit 1A und ein Repository bzw. einen Speicher 1B auf. Die Testvorrichtung 1 ist über eine Schnittstelle mit einem zu testenden System 2 verbunden. Bei einer möglichen Aus führungs form ist die Testvorrichtung 1 direkt über eine Schnittstelle an das zu testende System 2 angeschlossen. Bei einer alternativen Aus führungs form ist die Testvorrichtung 1 über ein Datennetzwerk, beispielsweise einen Bus, mit dem zu testenden System 2 verbunden. Weiterhin ist es möglich, dass die erfindungsgemäße Testvorrichtung 1 in dem zu testenden System 2 integriert ist. Die Ausführeinheit 1A kann aus einer intelligenten Ablaufplanung und Steuerung bestehen. Bei einer möglichen Aus führungs form ist das zu testende System 2 ein3 shows a block diagram for illustrating an exemplary embodiment of the test device 1 according to the invention. As can be seen from FIG. 3, the test device 1 has an execution unit 1A and a repository or a memory 1B. The test device 1 is connected via an interface with a system 2 to be tested. In one possible embodiment, the test device 1 is connected directly to the system 2 to be tested via an interface. In an alternative embodiment, the test device 1 is connected to the system 2 to be tested via a data network, for example a bus. Furthermore, it is possible that the test device 1 according to the invention is integrated in the system 2 to be tested. The execution unit 1A may consist of intelligent scheduling and control. In one possible embodiment, the system 2 to be tested is one
Embedded System, welches Hardwarekomponenten und Softwarekomponenten umfasst. Dabei ist in dem Repository 1B der Testvorrichtung 1 für jede Komponente, d.h. für jede Hardware- oder Softwarekomponente, des zu testenden Systems 1 ein entspre- chendes Testservicemodul vorgesehen. Bei dem zu testendenEmbedded system, which includes hardware components and software components. Here, in the repository 1B of the test apparatus 1 for each component, i. for each hardware or software component of the system to be tested 1 a corresponding test service module provided. In the to be tested
System 2 kann es sich um ein beliebiges komplexes technisches System handeln, beispielsweise ein Fahrzeug, eine Industrie¬ anlage oder ein Bestellsystem oder dergleichen. Die Testvorrichtung 1, wie sie in Fig. 3 dargestellt ist, führt zum Testen des Systems 2 mehrere Systemtestläufe durch. Dabei wird für jeden USE CASE bzw. Anwendungsfall des zu tes¬ tenden Systems 2 ein zugehöriger TEST CASE durch die Testvorrichtung 1 bereitgestellt. Dieser TEST CASE umfasst eine Se- quenz von Testschritten TS, in denen jeweils ein Teststimulus T-STI an das zu testende System 2 angelegt und eine dadurch hervorgerufene Test-Response T-RES des zu testenden Systems Z durch die Testvorrichtung überprüft wird. Bei dem Teststimu- lus T-STI kann es sich beispielsweise um ein Daten- bzw. Bit- Muster oder eine Folge von bestimmten Requests bzw. Events zum Testen des Systems 2 handeln. Bei der erfindungsgemäßen Testvorrichtung 1 ist es möglich, das zu testende System 2 in einem Systemtestlauf ausgehend von einem Anfangssystemzustand Z0 bei jedem Testschritt TS des TEST CASES in einen anderen Systemzustand zu versetzen, bis ein Endsystemzustand für den jeweiligen TEST CASE erreicht wird. Dabei wird zur Beschleu¬ nigung eines jeden weiteren Systemtestlaufs bei einem TEST CASE das zu testende System Z direkt in einen bestimmten Systemzustand durch die Testvorrichtung 1 versetzt, indem bei den Testschritten bis zum Erreichen des bestimmten bzw. definierten Systemzustandes nur die zugehörigen Teststimuli ohne Test-Responseüberprüfung an das zu testende System 2 durch die Testvorrichtung 1 angelegt werden, sofern bis zum Erreichen des bestimmten Systemzustandes Zx des Systems 2 in min¬ destens einem vorherigen Systemtestlauf die erhaltenen Test- Responses T-RES bereits erfolgreich überprüft wurden oder in einem späteren Systemtestlauf erfolgreich überprüft werden. System 2 may be any complex technical system, for example, a vehicle, an industrial plant or a ¬ ordering system or the like. The test apparatus 1 as shown in FIG. 3 performs a plurality of system test runs for testing the system 2. In this case, an associated TEST CASE is provided by the test device 1 for each USE CASE or application of the system 2 to be tes ¬ . This TEST CASE comprises a sequence of test steps TS, in each of which a test stimulus T-STI is applied to the system 2 to be tested, and a test response T-RES of the system Z to be tested is checked by the test apparatus. In the test stimulus For example, a T-STI may be a data or bit pattern or a sequence of particular requests or events for testing the system 2. In the test device 1 according to the invention, it is possible to set the system 2 to be tested in a system test run from an initial system state Z 0 in each test step TS of the TEST CASES in another system state until an Endsystemzustand for the respective TEST CASE is achieved. Here, the system under test Z directly treated in a certain system state by the test apparatus 1 by for the test steps to reach the certain or defined system state, only the respective test stimuli without test for Accelerat ¬ nigung of every other system test run at a TEST CASE response checking are applied to the system under test 2 by the test device 1, provided to reach the particular system state Z x of the system 2 in min ¬ least a previous system test run, the test responses T-RES obtained have been successfully checked or in a later system test run be checked successfully.
Um ein zu testendes System 2 in einen bestimmten bzw. definierte Systemzustand Zx zu versetzen, wird bei einer mögli¬ chen Aus führungs form ein TEST CASE mit einem bestimmten optimalen Testsequenzpräfix selektiert bzw. ausgewählt. Diese Se- lektion kann entweder automatisch oder durch einen Anwender bzw. Nutzer entsprechend einem vorgegebenen Optimierungskriterium durchgeführt werden. Beispielsweise wird dasjenige Testsequenzpräfix ausgewählt, das bis zum Erreichen des defi¬ nierten Systemzustandes Zx eine minimale Testausführungszeit- dauer besitzt. Alternativ kann dasjenige optimale Testse¬ quenzpräfix selektiert werden, welches einen minimalen Res¬ sourcenbedarf für das zu testende System 2 hat. Beispielswei¬ se wird dasjenige Testsequenzpräfix selektiert, das zu einem minimalen Energieverbrauch führt. Das Optimierungs- bzw. Se- lektionskriterium kann auch aus einer Kombination von essentiellen Kriterien bestehen. Beispielsweise kann das Optimierungskriterium bzw. Selektionskriterien aus einer Kombination von einem Kriterium "Zeitbedarf" und einem Kriterium "Ener- giebedarf" bestehen. Ein derartiges kombiniertes Selektions¬ kriterium kann insbesondere dann gebildet werden, wenn zwei essentielle Kriterien wie etwa Zeitbedarf und Energiebedarf miteinander in Konflikt stehen. Beispielsweise kann ein kom- biniertes Selektionskriterium verwendet werden, wenn das zu testende System 2 bei einem schnellen Betrieb viel Energie verbraucht und bei einem langsamen Betrieb wenig Energie ver¬ braucht. Weiterhin ist es möglich, eine gewichtete Summe ver¬ schiedener essentieller Kriterien wie etwa Zeitbedarf und Energiebedarf zu verwenden. Die Gewichtung kann dabei mit Gewichtungsfaktoren durchgeführt werden, welche vorzugsweise einstellbar sind. In einer weiteren möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung kann eine Kombination von elementaren Kriterien mit zusätzlich einer begrenzenden Funktion verwendet werden. Beispielsweise kann das Selekti¬ onskriterium darin bestehen, dass der Energiebedarf des zu testenden Systems 2 einen bestimmten Schwellenwert nicht überschreiten soll und das zu testende System 2 dabei gleichzeitig möglichst schnell arbeiten soll. Das zu testende Sys- tem 2 wird durch die Testvorrichtung 1 in den bestimmten Systemzustand Zx gebracht, in dem das System 2 ausgehend von ei¬ nem Anfangssystemzustand des Systems mittels Testschritten TS des selektierten TEST CASES in den bestimmten bzw. vorgegebenen Systemzustand Zx versetzt wird, wobei der selektierte TEST CASE für den jeweiligen bestimmten Systemzustand den jeweiligen optimalen Testsequenzpräfix aufweist. Bei einer mög¬ lichen Aus führungs form weist die Testvorrichtung 1 eine Nutzerschnittstelle zur Eingabe des Optimierungskriteriums oder zur Selektion eines Testsequenzpräfixes auf. Die Teststimuli T-STI der Testschritte TS des optimalen Testsequenzpräfixes bis zum Erreichen des bestimmten Systemzustandes Zx können als Beschleunigungstestmodule für den jeweiligen Systemzu¬ stand durch die Testvorrichtung 1 generiert und in dem Repo- sitory 1B gespeichert werden. Die Beschleunigungstestmodule werden dabei bei einer möglichen Aus führungs form während der Laufzeit des Systemtestlaufs dynamisch generiert. Bei einer alternativen Aus führungs form werden die Beschleunigungstestmodule vor Beginn eines weiteren Systemtestlaufs durch die Testvorrichtung 1 generiert und in dem Repository 1B abgelegt. Die in dem Repository 1B der Testvorrichtung 1 gespeicherten Beschleunigungstestmodule werden zur Laufzeit des Systemtestlaufs durch die Ausführungseinheit 1A der Testvor- richtung 1 dynamisch geladen und ausgeführt. In order to enable a system under test 2 in a specific or defined system state Z x, a TEST CASE is at a Moegli ¬ Chen from selected with a particular or selected optimal Testsequenzpräfix guide form. This selection can be carried out either automatically or by a user or user in accordance with a predetermined optimization criterion. For example, the one Testsequenzpräfix is selected, the x has a minimum Testausführungszeit- duration until reaching the defi ned ¬ system state Z. Alternatively, the one optimal Testse ¬ quenzpräfix can be selected, which has a minimum Res ¬ source needed for the system to be tested. 2 Beispielswei ¬ se is selected the one Testsequenzpräfix, leading to a minimal energy consumption. The optimization or selection criterion can also consist of a combination of essential criteria. For example, the optimization criterion or selection criteria can be calculated from a combination of a criterion "time requirement" and a criterion "energy consumption". energy requirement exist ". Such a combined selection ¬ criterion can in particular be formed when two essential criteria such as time required and energy requirements are in conflict with each other. For example, can be used a combined selection criterion, if the system under test 2 at a high speed operation consumes a lot of energy and little energy ver ¬ needs at a low speed operation. it is also possible to use a weighted sum ver ¬ VARIOUS essential criteria such as time required and energy consumption. The weight can be carried out by weighting factors, which are preferably adjustable. In another possible disclosed embodiment, the test device of the invention can be used a combination of elementary criteria with addition of a limiting function. for example, the Selekti ¬ onskriterium are that the energy requirement of the system under test 2 should not exceed a certain threshold and the system to be tested 2 while working as quickly as possible. The system to be tested 2 is brought by the test apparatus 1 in the determined system state Z x, where the system 2, starting from egg ¬ nem initial system state of the system are added by means of test steps TS of the selected test cases in the certain or predetermined system status Z x is, wherein the selected TEST CASE for each particular system state has the respective optimal test sequence prefix. In a mög ¬ union disclosed embodiment, the test device 1 to a user interface for inputting the optimization criterion or selection of a Testsequenzpräfixes. The test stimuli T-STI of the test steps TS of the optimum Testsequenzpräfixes until reaching the particular system state x Z have the acceleration test modules for the respective Systemzu ¬ stood by the test device 1 is generated and stored in the repo 1B sitory. The acceleration test modules are thereby dynamically generated during the runtime of the system test run in one possible embodiment. In an alternative embodiment, the acceleration test modules are preceded by the Test device 1 generated and stored in the repository 1B. The acceleration test modules stored in the repository 1B of the test apparatus 1 are dynamically loaded and executed at runtime of the system test run by the execution unit 1A of the test apparatus 1.
In dem in Fig. 3 dargestellten Ausführungsbeispiel testet die Testvorrichtung 1 ein zu testendes System 2, beispielsweise ein Embedded System, das mehrere Hardware- und Softwarekompo- nenten umfasst. Bei einer weiteren möglichen Aus führungs form testet die Testvorrichtung 1 gleichzeitig mehrere gleicharti¬ ge oder verschiedenartige zu testende Systeme 2. Weist ein zu testendes System 2 einen Fehler bzw. einen Defekt auf, kann bei einer möglichen Aus führungs form ein entsprechendes Feh- leranzeigesignal durch die Testvorrichtung 1 generiert wer¬ den . In the exemplary embodiment illustrated in FIG. 3, the test device 1 tests a system 2 to be tested, for example an embedded system comprising a plurality of hardware and software components. In a further possible disclosed embodiment, the test apparatus 1 simultaneously tests several gleicharti ¬ ge or different types to be tested systems 2. Assigns a system under test 2 an error and a defect, can in a possible disclosed embodiment, a corresponding fault leranzeigesignal by the test device 1 generates the ¬ who.
Fig. 4 zeigt ein Ausführungsbeispiel zur Darstellung der Funktionsweise der erfindungsgemäßen Testvorrichtung 1 zum Testen eines Embedded Systems 2, das in dem dargestellten einfachen Beispiel vier Komponenten umfasst, nämlich zwei Softwarekomponenten SW-KA, SW-KB sowie zwei Hardwarekomponenten HW-Kc, HW-KD. Bei den Hardwarekomponenten HW-K kann es sich um Bauteile, beispielsweise um einen Sensor oder der- gleichen, handeln. Bei dem in Fig. 4 dargestellten einfachen Beispiel besteht die Hardwarekomponente HW-KD beispielsweise aus einem Temperatursensor, der eine Umgebungstemperatur T misst. Dieser Temperatursensor wird durch eine entsprechende Softwarekomponente SW-KDB in dem dargestellten Beispiel ge- steuert, indem beispielsweise zu bestimmten Zeitpunkten die gemessene Temperatur T ausgelesen wird. Für jede Komponente des realen Embedded Systems 2 kann in dem Datenspeicher der Testvorrichtung 1 ein entsprechendes Testservicemodul vorge¬ sehen sein. Wie in Fig. 4 dargestellt, enthält die Testvor- richtung 1 in ihrem Repository 1B entsprechende Softwaretestservicemodule SW-SMA, SW-SMB zum Testen der beiden Software¬ komponenten SW-KA, SW-KB sowie zwei Hardware-Testservicemodule HW-SMc, HW-SMD zum Testen der entsprechenden Hardwarekomponenten HW-KC und HW-KD des zu testenden Systems 2. 4 shows an exemplary embodiment for illustrating the mode of functioning of the test device 1 according to the invention for testing an embedded system 2, which in the illustrated simple example comprises four components, namely two software components SW-K A , SW-K B and two hardware components HW-Kc, HW-K D. The hardware components HW-K may be components, for example a sensor or the like. In the simple example shown in FIG. 4, the hardware component HW-K D consists, for example, of a temperature sensor which measures an ambient temperature T. This temperature sensor is controlled by a corresponding software component SW-K DB in the illustrated example, for example by reading the measured temperature T at certain times. For each component of the real embedded systems 2 in the data memory of the test device 1 a corresponding test service module may be pre see ¬. As shown in Fig. 4, the Testvor- 1B appropriate software testing service modules SW-SM A, SW-SM B contains device 1 in its repository for testing of both software ¬ components SW-K A, SW-K B and two hardware test service modules HW-SMc, HW-SM D for testing the corresponding hardware components HW-K C and HW-K D of the system under test 2.
In dem in Fig. 4 dargestellten Beispiel wird durch das Soft- ware-Testservicemodul SW-SMB über eine Schnittstelle ein ent¬ sprechendes Teststimulussignal T-STI an die zu testende Ser¬ vicekomponente SW-KB angelegt, welches ein entsprechendes Test-Responsesignal T-RES über die Schnittstelle zurück an die Testvorrichtung 1 zur Auswertung bzw. Überprüfung lie- fert. In dem dargestellten einfachen Beispiel steuert dieIn the example shown in FIG. 4, ware test service module SW-SM B is applied via an interface an ent ¬ speaking test stimulus signal T-STI to be tested Ser ¬ vice component SW-K B which a corresponding test-response signal by the soft- T-RES back via the interface to the test device 1 for evaluation or review. In the illustrated simple example, the
Softwarekomponente SW-KB des Embedded Systems 2 die Hardware¬ komponente HW-KD, beispielsweise einen Temperatursensor. Beim Testen der Softwarekomponente SW-KB werden entsprechende Zugriffe der Softwarekomponente SW-KB auf die durch sie ge- steuerte Hardwarekomponente HW-KD umgemapped bzw. umgeleitet auf das entsprechende Test-Hardwareservicemodul HW-SMD, das beispielsweise einen Temperatursensor nachbildet bzw. abbil¬ det. Die Servicekomponente SW-KB des zu testenden Systems 2, welches unter Steuerung des entsprechenden Testservicemoduls SW-SMB getestet wird, legt entsprechende Hardwarebefehle bzw. Commands, die im Normalbetrieb für die gesteuerte Hardware¬ komponente HW-KD vorgesehen sind, an das entsprechende Test- Hardwaremodul HW-SMD an, das entsprechend reagiert und eine entsprechende Hardware-Response HW-RES an die gerade geteste- te Softwarekomponente SW-KB zurückliefert. Auf diese Weise ist es möglich, beim Testen einer Hardwarekomponente, bei¬ spielsweise der Hardwarekomponente HW-KD des zu testenden Systems 2, dessen Verhalten durch ein zugehöriges konfigu¬ rierbares Hardware-Testservicemodul HW-SMD nachzubilden. Bei einer möglichen Aus führungs form simuliert das zugehörigeSoftware component SW-K B of the embedded system 2, the hardware ¬ component HW-K D , for example, a temperature sensor. When testing the software component SW-K B corresponding accesses of the software component SW-K B are umgemapped to the hardware component controlled by HW-K D or redirected to the corresponding test hardware service module HW-SM D , for example, a temperature sensor simulates or . abbil ¬ det. The service component SW-K B of the system under test 2, which is tested under control of the corresponding test service module SW-SM B, sets appropriate hardware commands or commands that are provided in normal operation for the controlled hardware ¬ component H-K D, to the corresponding test hardware module HW-SM D , which reacts accordingly and returns a corresponding hardware response HW-RES to the software component SW-K B just tested. In this way it is possible, when testing a hardware component in ¬ play, the hardware component HW K D of the test system 2 to reproduce the behavior by an associated confi ¬ rierbares hardware test service module HW SM D. In one possible embodiment, the associated one simulates
Test-Hardwareservicemodul der Hardwarekomponente, beispiels¬ weise der Hardwarekomponente HW-KD, ein zu testendes konfigu¬ rierbares Fehlverhalten der Hardwarekomponente HW-KD. Bei¬ spielsweise kann auf diese Weise ein Fehlverhalten eines Tem- peratursensors auf einfache Weise getestet werden, ohne dass an dem realen Temperatursensor bzw. der entsprechenden Hardwarekomponente HW-KD eine entsprechende Manipulation vorge¬ nommen werden muss. Beispielsweise wird das Test- Hardwareservicemodul HW-SMD derart konfiguriert, dass es ein Fehlverhalten des Sensors simuliert, beispielsweise einen vollständigen Ausfall oder eine fehlerhaft angezeigte Tempe¬ ratur. Beispielsweise wird simuliert, dass der Hardwaresensor stets eine (fehlerhafte) Temperatur von 100°C oder eine feh¬ lerhafte Temperatur von 0°C ausgibt. Auf diese Weise kann ge¬ testet bzw. simuliert werden, wie sich das reale System 2, das eine entsprechende Softwarekomponenten SW-K enthält, bei einem Fehlverhalten einer durch die Softwarekomponente SW-K gesteuerten Hardwarekomponente HW-K verhält. Test hardware service module hardware component example ¬ as the hardware component HW K D, one to be tested confi ¬ rierbares misconduct of the hardware component HW K D. In ¬ play, a malfunctioning of a tem- peratursensors can be tested in a simple manner in this way, without a corresponding manipulation must be pre ¬ accepted to the real temperature sensor and the corresponding hardware component H-K D. For example, the test Hardware service module HW-SM D configured such that it simulates a malfunction of the sensor, such as a complete failure or incorrectly displayed Tempe ¬ rature. For example, simulating that of the hardware sensor always outputs a (faulty) temperature of 100 ° C or FEH ¬ lerhafte temperature of 0 ° C. In this way can be simulated ge ¬ testing and how the real system 2, which includes a corresponding software component SW-K, behaves in a malfunction of a component controlled by the software SW-K hardware component HW-K.
Bei einer möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung werden Gruppen von Komponenten einem oder mehreren Testmodulen bzw. Testservicemodulen zugeordnet. Dies spielt insbesondere bei der Betrachtung von gekoppelten Fehlerfällen eine Rolle. Beispielsweise möchte man nicht nur ei¬ ne Kühlwassertemperatur durch eine Fehlmessung manipulieren, sondern gleichzeitig auch die Stellung einer entsprechenden Drosselklappe. Bei diesem einfachen Anwendungsbeispiel wird ein Testmodul bereitgestellt, das mehreren Komponenten zuge¬ ordnet ist und nicht nur einer einzigen Komponente innerhalb des zu testenden Systems 2. In one possible embodiment of the test device according to the invention, groups of components are assigned to one or more test modules or test service modules. This plays a role especially when considering coupled error cases. For example, one would like to manipulate not only ei ¬ ne cooling water temperature by a faulty measurement, but at the same time the position of a corresponding throttle. In this simple application example, a test module is provided which is supplied ¬ assigns a plurality of components and not just a single component within the system to be tested. 2
Bei einer möglichen Aus führungs form sind diese Gruppen von Komponenten nicht gleichartig aufgebaut bzw. strukturiert, wobei in dem Repository 1B auch unterschiedliche Kombinatio¬ nen vorgesehen sind. In a possible disclosed embodiment, these groups are not similarly constructed from components or structured, wherein in the repository 1B are also different combinatio ¬ NEN provided.
Bei einer weiteren möglichen Aus führungs form der erfindungsgemäßen Testvorrichtung sind Beschleunigungstestmodule je¬ weils einer Systemkomponente des zu testenden Systems 2 zuge¬ ordnet oder einer Gruppierung von Systemkomponenten des zu testenden Systems 2. In a further possible disclosed embodiment of the test device according to the invention are acceleration test modules per ¬ weils supplied ¬ assigns a system component of the system under test 2 or a grouping of system components of the system to be tested. 2
Bei der erfindungsgemäßen Testvorrichtung 1 kann eine Menge von geplanten Tests bzw. Testläufen als Input-Daten in die Testvorrichtung 1 eingegeben werden. Die möglichen USE CASES bzw. Testfälle werden analysiert und für jeden bzw. verschie- dene Systemzustände des zu testenden Systems 2 können Testse¬ quenzpräfixe und Testfrequenzpostfixe, beispielsweise mittels eines Optimierungskriteriums, ermittelt werden. Abschließend kann eine Planung der verschiedenen Tests bzw. Testläufe basierend auf den verfügbaren Testmodulen durchgeführt werden, beispielsweise durch eine Workflow Engine. Dabei werden die benötigten Testmodule dynamisch zur Laufzeit geladen, ausgeführt und wieder zurückgeschrieben bzw. entladen. In the test apparatus 1 according to the invention, a set of planned tests or test runs can be input as input data into the test apparatus 1. The possible USE CASES or test cases are analyzed and analyzed for each dene system states of the system under test 2 can Testse ¬ quenzpräfixe and test frequency postfixes, for example by means of an optimization criterion can be determined. Finally, a planning of the various tests or test runs can be carried out based on the available test modules, for example by a workflow engine. The required test modules are dynamically loaded, executed and written back or unloaded at runtime.
Zum Testen von Embedded Systemen mit Hardware- und Software¬ komponenten kann durch den Einsatz einer serviceorientierten Architektur SOA bei der Testvorrichtung 1 zunächst eine Enumeration der TEST CASES und der zugehörigen Testschritte TS durchgeführt werden. Anschließend erfolgt eine Analyse der Äquivalenzklassen, um gemeinsame Testsequenzpräfixe und ent¬ sprechende Testsequenzpostfixe aufzufinden. Die serviceorien¬ tierten Architektur SOA kann zum Bilden bzw. Generieren von Beschleunigungstestmodulen eingesetzt werden, wobei die realen Hardware- und Softwarekomponenten des zu testenden Systems Z durch Testservicemodule ausgetauscht bzw. ersetzt wer¬ den. Dabei sind die Testservicemodule Softwaremodule, die aus einem Repository 1B der Testvorrichtung 1 geladen werden. For testing of embedded systems hardware and software components can ¬ an enumeration of TEST CASES and associated test steps TS are performed by using a service-oriented architecture SOA in the test device 1 first. Subsequently, an analysis of the equivalence classes in order to find common Testsequenzpräfixe and ent ¬ speaking test sequence postfixes. The serviceorien ¬ oriented architecture SOA can be used to form or generate acceleration test modules, the real hardware and software components of the system under test Z replaced by test service modules or replaced ¬ to. In this case, the test service modules are software modules that are loaded from a repository 1B of the test device 1.
Das zu testende System 1 kann durch die erfindungsgemäße Testvorrichtung 1 in einen untypischen bzw. seltenen vordefinierten Systemzustand bzw. Fehlerzustand gebracht werden. Da¬ bei werden vorzugsweise Beschleunigungstestmodule eingesetzt, um das Versetzen des Systems Z in diesen untypischen Systemzustand Zx in möglichst kurzer Zeit abzuschließen. Der Einsatz einer serviceorientierten Architektur SOA für die Testvorrichtung 1 erlaubt eine Modularisierung und eine lose Kopplung. Weiterhin hat die erfindungsgemäße Testvorrichtung 1 den Vorteil, dass die Testläufe durch Abkürzen und Verknüp¬ fen von Testmodulen schneller ausgeführt werden können. Weiterhin wird die Testabdeckung durch die erfindungsgemäße Testvorrichtung 1 erhöht, da es viele verschiedene Testpfade bis zum Erreichen eines Systemszustandes gibt. Die Erhöhung der Testabdeckung kann durch Berücksichtigung von Äquivalenz- klassen geschehen. Weiterhin ist es mit der erfindungsgemäßen Testvorrichtung 1 möglich, gezielt Systemfehler bzw. gezielt ein Systemverhalten des zu testenden Systems 2 durch Simulation von Hardware-/Softwarefehlern durch entsprechende Software-Testservices zu erreichen, die aus dem Repository 1B der Testvorrichtung 1 geladen werden. Die erfindungsgemäße Testvorrichtung 1 kann bei der Entwicklung eines zu testenden Systems 2 eingesetzt werden. Weiterhin kann die erfindungsge¬ mäße Testvorrichtung auch nach Auslieferung des Systems 2 bei einem Kunden zu Wartungszwecken oder bei einer Erweiterung bzw. Veränderung eines Systems 2 eingesetzt werden. The system 1 to be tested can be brought into an untypical or rare predefined system state or error state by the test device 1 according to the invention. Since ¬ acceleration test modules are preferably used to complete the displacement of the system Z in this atypical system state Z x in the shortest possible time. The use of a service-oriented architecture SOA for the test device 1 allows modularization and loose coupling. Furthermore, the test apparatus 1 according to the invention has the advantage that test runs can be performed faster by abbreviating and Verknüp ¬ fen of test modules. Furthermore, the test coverage is increased by the test device 1 according to the invention, since there are many different test paths until a system state is reached. The increase in test coverage can be achieved by considering equivalence classes happen. Furthermore, it is possible with the test device 1 according to the invention to specifically achieve system errors or specifically a system behavior of the system 2 to be tested by simulation of hardware / software errors by corresponding software test services loaded from the repository 1B of the test device 1. The test device 1 according to the invention can be used in the development of a system 2 to be tested. Furthermore, the erfindungsge ¬ Permitted test device can be used even after delivery of the system 2 at a customer for maintenance purposes or in an extension or modification of a system 2.

Claims

Patentansprüche claims
Testvorrichtung (1) zum effizienten Durchführen von Systemtestläufen bei einem System (2), Test device (1) for efficiently performing system test runs in a system (2),
wobei für jeden USE CASE des zu testenden Systems (2) ein zugehöriger TEST CASE durch die Testvorrichtung (1) bereitgestellt wird, der eine Sequenz von Testschritten (TS) aufweist, in denen jeweils ein Teststimulus (T-STI) an das zu testende System (2) angelegt und eine dadurch hervorgerufene Test-Response (T-RES) des zu testenden Systems (Z) durch die Testvorrichtung (1) überprüft wird, wobei das zu testende System (Z) in einem Systemtest¬ lauf ausgehend von einem Anfangssystemzustand (Z0) bei jedem Testschritt (TS) des TEST CASES in einen anderen Systemzustand versetzt wird, bis ein Endsystemzustand (Zn) für den jeweiligen TEST CASE erreicht wird, wherein, for each USE CASE of the system under test (2), an associated TEST CASE is provided by the test device (1) comprising a sequence of test steps (TS) in each of which a test stimulus (T-STI) is sent to the system under test (2) applied and caused thereby test response (T-RES) of the system to be tested (Z) by the test device (1) is checked, wherein the system to be tested (Z) in a system test ¬ run starting from an initial system state ( Z 0 ) is put into a different system state at each test step (TS) of the TEST CAS until an end system state (Z n ) for the respective TEST CASE is reached,
wobei zur Beschleunigung jedes weiteren Systemtestlaufs bei einem TEST CASE das zu testende System (Z) di¬ rekt in einen bestimmten Systemzustand (Zx) durch die Testvorrichtung (1) versetzt wird, indem bei den Testschritten (TS) zum Erreichen des bestimmten Systemzustandes (Zx) nur die zugehörigen Teststimuli (T-STI) ohne Test-Responseüberprüfung (T-RES) an das zu testende System (Z) durch die Testvorrichtung (1) angelegt werden, sofern die bis zum Erreichen des bestimmten Systemzustandes (Zx) in mindestens einem Systemtestlauf erhaltenen Test-Responses (T-RES) erfolgreich überprüft werden. wherein the acceleration of each additional system test run at a TESTCASE the system to be tested (Z) di ¬ rectly in a certain system state (Z x) is displaced by the test device (1) by at the test steps (TS) for reaching the particular system state ( Z x ) only the associated test stimuli (T-STI) without test-response check (T-RES) are applied to the system (Z) to be tested by the test device (1), provided that they reach the determined system state (Z x ) Test Responses (T-RES) received in at least one system test run are successfully checked.
Testvorrichtung nach Anspruch 1, Test device according to claim 1,
wobei eine Sequenz von Testschritten (TS) eines TEST CASES ausgehend von dem Anfangssystemzustand (Zo) bis zum Erreichen des bestimmten Systemzustandes (Zx) einen Test¬ sequenzpräfix bildet und wherein a sequence of test steps (TS) of a TEST CASES starting from the initial system state (Z o ) until reaching the particular system state (Z x ) forms a test ¬ sequence prefix, and
wobei eine Sequenz von Testschritten (TS) eines TEST CASES ausgehend von dem bestimmten Systemzustand (Zx) bis zum Erreichen des Endsystemzustandes (Zn) für den jewei¬ ligen TEST CASE einen Testsequenzpostfix bildet. wherein a sequence of test steps (TS) of a TEST CASES starting from the determined system state (Z x ) until reaching the Endsystemzustandes (Z n ) for each TEST CASE jewei ¬ term forms a test sequence postfix.
Testvorrichtung nach Anspruch 2, Test device according to claim 2,
wobei das zu testende System (Z) durch die Testvor¬ richtung (1) in den bestimmten Systemzustand (Zx) gebracht wird, wherein the system under test (Z) by the Testvor ¬ device (1) in the determined system state is brought (Z x),
indem das System (Z) ausgehend von dem Anfangssystem zustand (Z0) des Systems (Z) mittels Testschritten (TS) eines selektierten TEST CASES in den bestimmten Systemzustand (Zx) versetzt wird, in that the system (Z) is put into the determined system state (Z x ) by means of test steps (TS) of a selected TEST CAS, starting from the initial system state (Z 0 ) of the system (Z),
wobei der selektierte TEST CASE für den jeweiligen bestimmten Systemzustand (Zx) ein optimales Testsequenz¬ präfix aufweist. wherein the selected TEST CASE (x Z) has an optimal test sequence ¬ prefix for each particular system state.
Testvorrichtung nach Anspruch 3, Test device according to claim 3,
wobei das optimale Testsequenzpräfix eine minimale Testausführungsdauer zum Erreichen des bestimmten Systemzustandes (Zx) und/oder einen minimalen Ressourcenbe¬ darf für das zu testende System (Z) aufweist. wherein the optimal test sequence prefix has a minimum test execution duration for attaining the determined system state (Z x ) and / or a minimum resource requirement for the system (Z) to be tested.
Testvorrichtung nach Anspruch 3 oder 4, Test device according to claim 3 or 4,
wobei die Teststimuli (T-STI) der Testschritte (TS) des optimalen Testsequenzpräfixes zum Erreichen des be¬ stimmten Systemzustandes (Zx) als Beschleunigungstestmo¬ dule für den jeweiligen Systemzustand durch die Testvorrichtung (1) generiert werden. wherein the test stimuli (T-STI) of the test steps (TS) of the optimum for achieving the Testsequenzpräfixes be ¬ voted system state (Z x) are generated as Beschleunigungstestmo ¬ modules for each system state by the test apparatus (1).
Testvorrichtung nach Anspruch 5, Test device according to claim 5,
wobei die Beschleunigungstestmodule während der Lauf zeit des Systemtestlaufs oder vor Beginn eines weiteren Systemtestlaufs durch die Testvorrichtung (1) generiert werden .  wherein the acceleration test modules are generated during the run time of the system test run or before the start of a further system test run by the test device (1).
Testvorrichtung nach Anspruch 5 oder 6, Test device according to claim 5 or 6,
wobei die generierten Beschleunigungstestmodule in einem Repository (1B) der Testvorrichtung (1) für eine Systemkomponente oder eine Gruppe von Systemkomponenten des zu testenden Systems (2) gespeichert werden.  wherein the generated acceleration test modules are stored in a repository (1B) of the test device (1) for a system component or a group of system components of the system under test (2).
8. Testvorrichtung nach Anspruch 7, wobei die in dem Repository (1B) der Testvorrichtung (1) gespeicherten Beschleunigungstestmodule zur Laufzeit des Systemtestlaufs durch eine Ausführeinheit (1A) der Testvorrichtung (1) dynamisch geladen und ausgeführt werden . 8. Test device according to claim 7, wherein the acceleration test modules stored in the repository (1B) of the test apparatus (1) are dynamically loaded and executed at runtime of the system test run by an execution unit (1A) of the test apparatus (1).
Testvorrichtung nach Anspruch 1 - 8, Test device according to claims 1 - 8,
wobei die Testvorrichtung (1) eine serviceorientierte Architektur (SOA) aufweist und über eine Datenschnitt¬ stelle direkt an das zu testende System (Z) angeschlos¬ sen ist oder über ein Datennetzwerk an das zu testende System (2) angeschlossen ist. wherein the test device (1) comprises a service-oriented architecture (SOA) and via a data interface ¬ point directly to the system under test (Z) is integrally Schlos ¬ sen or via a data network to the system under test (2) is connected.
Testvorrichtung nach Anspruch 7 - 9, Test device according to claims 7 - 9,
wobei das durch die Testvorrichtung (1) zu testende System (Z) ein Embedded System ist, das Hardwarekompo¬ nenten (HW-K) und Softwarekomponenten (SW-K) aufweist, wobei in dem Repository (1B) der Testvorrichtung (1) für jede Komponente oder Gruppe von Komponenten des zu testenden Systems (2) mindestens ein entsprechendes Testservicemodul vorgesehen ist. wherein to be tested by said test device (1) system (Z) is an embedded system that Hardwarekompo ¬ components comprising (HW-K) and software (SW-K), wherein in the repository (1B) of the test device (1) for each component or group of components of the system under test (2) is provided with at least one corresponding test service module.
Testvorrichtung nach Anspruch 10, Test device according to claim 10,
wobei zum Testen eine Hardwarekomponente (HW-K) des zu testenden Systems (Z) das zugehörige Testsservicemo¬ dul (HW-SMI) der Hardwarekomponente (HW-K) ein zu tes¬ tendes konfigurierbares Fehlverhalten der Hardwarekompo¬ nente (HW-K) simuliert. wherein for testing a hardware component (HW-K) of the system to be tested (Z) the associated Testsservicemo ¬ dul (HW-SMI) of the hardware device (HW-K) a to tes ¬ tendes configurable malfunction of the Hardwarekompo ¬ component (HW-K) simulated.
Testvorrichtung nach Anspruch 1 - 11, Test device according to claim 1 - 11,
wobei die Testvorrichtung (1) in dem zu testenden System (2) integriert ist.  wherein the test device (1) is integrated in the system (2) to be tested.
Testverfahren zum effizienten Durchführen von Testsystemläufen bei einem System (Z), Test method for efficiently performing test system runs in a system (Z),
wobei für jeden USE CASE des zu testenden Systems (Z) ein zugehöriger TEST CASE bereitgestellt wird, der eine Sequenz von Testschritten (TS) aufweist, in denen je- weils ein Teststimulus (T-STI) an das zu testende System (Z) angelegt und eine dadurch hervorgerufene Test- Response (T-RES) des zu testenden Systems (Z) überprüft wird, wherein, for each USE CASE of the system (Z) to be tested, an associated TEST CASE is provided which has a sequence of test steps (TS) in which because a test stimulus (T-STI) is applied to the system (Z) to be tested and a test response (T-RES) of the system (Z) to be tested is checked,
wobei das zu testende System (Z) in einem Systemtest¬ lauf ausgehend von einem Anfangssystemzustand (Z0) bei jedem Testschritt (TS) des TEST CASES in einen anderen Systemzustand versetzt wird, bis ein Endsystemzustand (Zu) für den jeweiligen TEST CASE erreicht wird, und wobei zur Beschleunigung jedes weiteren Systemtestlaufs bei einem TEST CASE das zu testende System (Z) direkt in einen bestimmten Systemzustand (Zx) versetzt wird, wherein the system to be tested (Z) is set in a system test ¬ run starting from an initial system state (Z 0 ) at each test step (TS) of the TEST CASES in another system state until an end system state (Z u ) for the respective TEST CASE and in order to accelerate each further system test run in a TEST CASE, the system (Z) to be tested is set directly in a specific system state (Z x ),
indem bei den Testschritten (TS) des TEST CASES bis zum Erreichen des bestimmten Systemzustandes (Zx) nur die zugehörigen Teststimuli (T-STI) ohne Test- Responseüberprüfung an das zu testende System (Z) angelegt werden, sofern die bis zum Erreichen des bestimmten Systemzustandes (Zx) in mindestens einem anderen System¬ testlauf erhaltenen Test-Responses (T-RES) erfolgreich geprüft werden. in the test steps (TS) of the TEST CASES until the specific system state (Z x ) has been reached, only the corresponding test stimuli (T-STI) without test-response check are applied to the system (Z) to be tested, provided that this is the case until reaching the certain system state (Z x ) in at least one other system ¬ test run test responses received (T-RES) are successfully tested.
Testverfahren nach Anspruch 13, Test method according to claim 13,
wobei das Testverfahren bei der Durchführung von Systemtestläufen Beschleunigungstestmodule generiert und für weitere Systemtestläufe an dem System (Z) in einem Repository (1B) speichert.  wherein the test method generates acceleration test modules when performing system test runs and stores them for further system test runs on the system (Z) in a repository (1B).
Testverfahren nach Anspruch 13 oder 14, Test method according to claim 13 or 14,
wobei das Testverfahren zur Systementwicklung, zur Systemwartung, Systemdiagnose oder zur Systemerweiterung durch eine mit dem zu testenden System (Z) verbundene oder in dem zu testenden System (Z) integrierte Testvorrichtung (1) ausgeführt wird.  wherein the system development, system maintenance, system diagnostics, or system expansion testing procedure is performed by a test device (1) connected to the system under test (Z) or integrated into the system (Z) under test.
PCT/EP2011/070200 2010-12-07 2011-11-16 Device and method for efficiently carrying out system test runs WO2012076303A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE201010062553 DE102010062553A1 (en) 2010-12-07 2010-12-07 Apparatus and method for efficiently performing system test runs
DE102010062553.1 2010-12-07

Publications (1)

Publication Number Publication Date
WO2012076303A1 true WO2012076303A1 (en) 2012-06-14

Family

ID=45218664

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2011/070200 WO2012076303A1 (en) 2010-12-07 2011-11-16 Device and method for efficiently carrying out system test runs

Country Status (2)

Country Link
DE (1) DE102010062553A1 (en)
WO (1) WO2012076303A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991176A (en) * 1989-06-07 1991-02-05 At&T Bell Laboratories Optimal test generation for finite state machine models
EP0562886A2 (en) * 1992-03-27 1993-09-29 Matsushita Electric Industrial Co., Ltd. Method and apparatus for generating test sequence
US20070250799A1 (en) * 2006-04-21 2007-10-25 Lucent Technologies Inc. Test case generation algorithm for a model checker

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991176A (en) * 1989-06-07 1991-02-05 At&T Bell Laboratories Optimal test generation for finite state machine models
EP0562886A2 (en) * 1992-03-27 1993-09-29 Matsushita Electric Industrial Co., Ltd. Method and apparatus for generating test sequence
US20070250799A1 (en) * 2006-04-21 2007-10-25 Lucent Technologies Inc. Test case generation algorithm for a model checker

Also Published As

Publication number Publication date
DE102010062553A1 (en) 2012-06-14

Similar Documents

Publication Publication Date Title
DE69831732T2 (en) METHOD AND DEVICE FOR CORRECTING ERRORS IN A COMPUTER SYSTEM
EP0186724B1 (en) Test and diagnostic device for a digital calculator
DE102017211433B4 (en) Procedure for performing a function test of a control unit in a hardware-in-the-loop test, HIL test, and HIL test bench and control unit
EP1428126A2 (en) Software verification method for control units and verification system
EP1384152B1 (en) Method for determining and recording system information and function in distributed parallel component based software systems
DE102018212560A1 (en) Computer-aided system for testing a server-based vehicle function
EP3736688B1 (en) Virtual control device
DE112017003053T5 (en) ACTIVITY MONITOR
WO2006035038A2 (en) Method for testing control device software for a control device
EP2653850B1 (en) Method and IT system for testing entire vehicles
WO2012076303A1 (en) Device and method for efficiently carrying out system test runs
DE102009034242A1 (en) Method for testing controller utilized for controlling e.g. brake lamp of lorry, involves automatically operating regulator to determine whether controller properly operates or not upon detected output signal
DE102017214125A1 (en) Method and apparatus for synchronizing a simulation with a real-time system
DE102020213809A1 (en) Method for operating a control device when testing software in the control device and method for operating a test computer when testing software in a control device
DE102017214610B4 (en) Method for checking at least one vehicle function and testing device
DE102009028871A1 (en) Method for testing memory e.g. RAM memory, of function testing system for switching off of electrical vehicle drive, involves executing memory testing routine after cycle of predetermined time intervals
DE102008030162A1 (en) Method for testing operability of embedded component in e.g. computer, for e.g. vehicle, involves determining operability of embedded component by comparing time response of produced signals with predetermined time response
DE102008039380A1 (en) Test System
WO2006081869A1 (en) Device and method for testing components and systems
DE102021203278A1 (en) Procedure for testing a control unit
DE102009054137A1 (en) Method for testing application utilized to develop functionalities of e.g. dynamic traction control of motor vehicle, involves considering characteristics of software components to simulate expected temporal characteristics of application
DE102019218904A1 (en) Robustness test method, robustness test circuit, robustness test device
DE102022205985A1 (en) Method for testing an electronic device
WO1989003088A1 (en) Electronic assembly with self-test circuit
EP1299802A2 (en) Electronic system for developing software and a method for accessing the internal data of said software

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11793691

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11793691

Country of ref document: EP

Kind code of ref document: A1