Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing....
Transcript of Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing....
V0 | 2019-10-28
Software Testing TechDay – November 19, 2019
Software Integration Testing with VectorCAST/C++
2
Software Integration TestingAssembly Lines
Combine multiple software units into software components to perform integration testing that focuses on how the components interact with each other from a
control and data flow perspective using VectorCAST/C++.
CANoe, vTESTstudio,vVIRTUALtarget,
VectorCAST/C++
SW Integration / Black-Box Testing
3
Software integration testing vs Unit testingSoftware Integration Testing
Software integration testing Software unit testing
Test a software component Test a software unit, smallest testable section of source code
Test cases’ complexity varies Test cases have low complexity
Finding source code bugs may require tracing through the code Finding source code bugs are found quickly
Software components use the intended functionality Software unit may enter impossible cases
Communication errors can be detected Communication errors cannot be tested
Conformance of architectural design Architectural design cannot be tested
Both can use the same testing methodologies
4
Typical definitions: “An individual software component is a software package, a web service, a web resource, or a
module that encapsulates a set of related functions (or data).”
“Software component is a piece of code that carries out an application or part of an application.”
What is a software component?Software Integration Testing
What is a software component for
integration testing?
5
Software component for integration testingSoftware Integration Testing
Functional relationship through data and/or control flow
Software Unit
Smallest testable
section of source code
Source code file
6
Testing methodsSoftware Integration Testing
Requirements-based
Fault injection
Interface
Back-to-back
7
Setup VectorCAST for integration testingSoftware Integration Testing
8
Requirements-based testing with VectorCASTSoftware Integration Testing
9
Fault injection with VectorCASTSoftware Integration Testing
10
Interface testing with VectorCASTSoftware Integration Testing
11
Back-to-back testing with VectorCASTSoftware Integration Testing
12
VectorCAST DemoSoftware Integration