Building a safe and secure embedded world

Software test introduction

Introduction to module, unit and integration testing of embedded software

Unit (or module) tests form the first test stage in the V-model. They are a proven method for detecting software errors. In this seminar, topics related to these types of tests are explained (code coverage, classification tree method, traceability of test case requirements). The integration test, the next level in the V-model, will also be discussed.

The seminar enables participants to decide whether unit or integration tests are useful for their project or not.

 

Training content

Common technical terms

(Software) unit test, (software) module test, integration test, component test, system test, regression test, mutation test, fault injection test, back-to-back test, robustness test. Test oracle, fuzzing. Black box / white box testing, static / dynamic testing, functional / non-functional testing.

Test case specification methods from the black box point of view

Requirements based, equivalence class method, boundaries, experience based.

White Box Tests (Static Analysis)

Coding rules, data and control flow anomalies, metrics (McCabe).

Measures of code coverage

What measures are called in standards such as IEC 61508 or ISO 26262? Definition of measures and their relation to each other; Statement coverage; Branch coverage; Condition coverage including the modified condition / decision coverage (MC / DC: modified condition / decision coverage); Benefits and shortcomings of a code coverage measurement.

Introduction to the unit test

What is a unit? How does the unit test work in principle? To what do you need stub functions? Which mistakes can be found, which not? A simple example is tested with the unit test tool TESSY: definition of test cases; Test execution; Evaluation of test results; Measurement of code coverage; Generate a test report.

Classification Tree Method

Introduction to the test case specification technique using the classification tree method (not just for the purpose of unit testing); Proposal for the procedure with the help of TESSY and this technique; Demonstration of the tool integration.

Further unit tests

Handling of called functions (stub functions). Special features of unit tests on hardware.

Integration test

Introduction to the temporal component test with TESSY.

Traceability

Traceability of requirements for test cases with TESSY.

Summary

Open questions; Support, training and advice; Discussion, reference to further information.

Dates & Registrations

There are currently no Software test introduction seminars. But you are welcome to visit our TESSY online trainings. There you will learn to design and execute dynamic software tests.
For a first overview on the topic of software testing, our free webinars or the recordings of past webinars are suitable.

 

You have individual wishes? Or do you need in-house training? Then contact us for further details.

Search FormContactOnlineshop