ITF
|
status: draft
|
||||
ITF (Integration Testing Framework) Verification Report#
Introduction#
Scope and purpose#
ITF is a pytest-based integration testing framework that simplifies writing and running integration tests. It provides utilities for common integration tasks — for example, SSH connection setup, interpreting dataframes, parsing diagnostic messages, etc. ITF can execute tests on emulators (QEMU) as well as on physical hardware.
Inputs and outputs#
Fig. 18 ITF overview#
Available information#
Version: 0.1.0 [1]
Repository: eclipse-score/itf
Example of ITF test in S-CORE ITF repository: eclipse-score/itf
Installation and integration#
Installation#
bazel_dep(name = "score_itf", version = "0.1.0")
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
Integration#
Integrated in bazel.
Environment#
Running application software instance with configured connection.
Safety evaluation#
This section outlines the safety evaluation of ITF for its use within the S-CORE project.
Malfunction identification |
Use case description |
Malfunctions |
Impact on safety? |
Impact safety measures available? |
Impact safety detection sufficient? |
Further additional safety measure required? |
Confidence (automatic calculation) |
|---|---|---|---|---|---|---|---|
1 |
Run tests and generate test report |
Fails to load input files
ITF fails to load provided file even if file is present and accessible.
|
yes |
(implicit) Check ITF test run status |
yes |
no |
high |
2 |
Run tests and generate test report |
Fails to write result to file
ITF was not able to save results in file(s).
|
yes |
(implicit) Check ITF test run status |
yes |
no |
high |
3 |
Run tests and generate test report |
Fails to collect results of the test(s)
ITF was not able to collect results of executed test.
|
no |
no |
yes |
no |
high |
4 |
Run tests and generate test report |
Fails to detect an existing error
ITF fails to detect the presence of existing errors.
|
yes |
no |
no |
yes (qualification) |
low |
5 |
Run tests and generate test report |
Fails to execute the test
ITF fails to execute specific test from the test plan
|
no |
no |
yes |
no |
high |
6 |
Run tests and generate test report |
Indicates presence of a non-existing error
ITF indicates the presence of errors that do not exist.
|
no |
no |
yes |
no |
high |
7 |
Run tests and generate test report |
Produces wrong test report
ITF fails to save correct test result in test report.
|
yes |
Review test report |
yes |
no |
high |
Security evaluation#
This section outlines the security evaluation of ITF for its use within the S-CORE project.
Threat identification |
Use case description |
Threats |
Impact on security? |
Impact security measures available? |
Impact security detection sufficient? |
|---|---|---|---|---|---|
1 |
TBD |
TBD |
TBD |
TBD |
TBD |
Result#
ITF requires qualification for use in safety-related software development.
Tool Qualification#
Based on method: validation of the software tool.
Requirements and testing aspects#
Tool requirements are derived from official documentation (currently missing): eclipse-score/itf
The testing team is responsible for identifying the specific ITF functionality used in the project. Based on this, requirements for the utilized features must be derived from the available documentation and ITF validated against defined requirements.