12
V0 | 2019-10-28 Software Testing TechDay – November 19, 2019 Software Integration Testing with VectorCAST/C++

Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

  • Upload
    others

  • View
    10

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

V0 | 2019-10-28

Software Testing TechDay – November 19, 2019

Software Integration Testing with VectorCAST/C++

Page 2: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

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

Page 3: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

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

Page 4: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

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?

Page 5: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

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

Page 6: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

6

Testing methodsSoftware Integration Testing

Requirements-based

Fault injection

Interface

Back-to-back

Page 7: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

7

Setup VectorCAST for integration testingSoftware Integration Testing

Page 8: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

8

Requirements-based testing with VectorCASTSoftware Integration Testing

Page 9: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

9

Fault injection with VectorCASTSoftware Integration Testing

Page 10: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

10

Interface testing with VectorCASTSoftware Integration Testing

Page 11: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

11

Back-to-back testing with VectorCASTSoftware Integration Testing

Page 12: Software Integration Testing with VectorCAST/C++ · 2019-11-22 · Software Integration Testing. Assembly Lines. Combine multiple software units into software components to perform

12

VectorCAST DemoSoftware Integration