SlideShare a Scribd company logo
0Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Automated DevOps
Dynamic Testing for CI & CD
1Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Presenter
Matt Davis
Managing Director
QA Systems Ltd
2Copyright 2019 – QA Systems GmbH www.qa-systems.cn
DRIVING EMBEDDED SOFTWARE QUALITYDRIVING EMBEDDED SOFTWARE QUALITY
QA SYSTEMS
3Copyright 2019 – QA Systems GmbH www.qa-systems.cn
QA Systems Company History
1996
Company founded by
Andreas Sczepansky in
Stuttgart
2011
Subsidiary QA Systems Ltd
(Bath, UK) founded
2012
Purchase of Cantata and AdaTEST from IPL
Information Processing Ltd and transfer of
complete engineering team to QA Systems Ltd.
2013
QA Systems France
(Paris) founded
2014
Focus of business on
Static and Dynamic
Testing
2015
QA Systems Italy
(Milan) founded
2018
Founded QA
Systems North
America Inc.
(Boston, MA)
4Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Paris Munich
StuttgartBath
Stuttgart
•Headquarters
Munich
•Office
Bath
•Engineering Centre
Paris
•Office
Milan
•Office
Boston, MA
•Office
Milan
QA Systems Company Locations
Boston,
MA
5Copyright 2019 – QA Systems GmbH www.qa-systems.cn
India
TECHTRUST & Meteonic
Scandinavia
Nohau Solutions
China
Watertek & Hirain Technologies
Japan
Toyo Corp.
APAC / Korea
EACT Technologies / UPS Technologies
Russia
AVD Systems
QA Systems Reseller Network
Taiwan
GCOM Technologies
Tukey
TEKTRONIK
6Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Accelerated Compliance Testing
Certified Unit & Integration Testing
7Copyright 2019 – QA Systems GmbH www.qa-systems.cn
System
Requirements
SW System
Requirements
SW Unit
Requirements
SW Item
Requirements
Code
SW System
Test
System
Test
SW Unit
Test
SW Integration
Test
Code
Verification Order
1 Does code meet the quality standard?
 Static Analysis
2 Does the code do what it should?
Functional Requirements Testing
Non-functional Requirements Testing
3 Does the code not do what it should?
Robustness Testing
4 Has the code been tested enough?
Structural Coverage Testing
Testing in the Software Development Lifecycle
Static
Analysis
8Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Whole Development Organization Benefits
Efficient automation to
“Test Early, Test Often”
Increased confidence in
collaboration
Increased control over
delivery quality and time
Certification ready
proof of quality
Cost of
Quality
Cost of
Quality
9Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Selection of Customers
10Copyright 2019 – QA Systems GmbH www.qa-systems.cn
AutoTest
What is DevOps ?
11Copyright 2019 – QA Systems GmbH www.qa-systems.cn
What is Continuous Integration / Delivery ?
12Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Continuous Integration Flow
13Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Continuous Delivery Flow
14Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Classic CI / CD
Continuous Integration &
Regression Testing
Automated CI build and test runs via a CLI
Cantata make files for CLI test build & run
Classic Groovy scripting integrations for:
Hyperlinks to Cantata Team Reporting
15Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Continuous Integration & Regression Testing
Make files
Works with existing make file systems
Used with existing code tree – avoids
sandboxing
Hierarchy of gmake make files
automatically maintained
Separate target build files
Build & run regression tests on CLI
Customisable with pre-build and post-
build commands for tool extensions e.g.
Source Code Management tools
Helix QAC
Bug Tracking tools
16Copyright 2019 – QA Systems GmbH www.qa-systems.cn
End

DeployStart

Static Analysis

System Test

Unit Test
on host


on target X
on target Y

Integration Test


on host
on target X
on target Y

Build
Modern CI / CD with Pipelines
Pipelines for Continuous Integration & Continuous Delivery
Declarative Scripting for full pipeline CLI automation
17Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Steps in Pipeline Stages
Each Pipeline Stage can automate various Steps
with declarative scripting via CLI
Stage Triggers
Independent or Dependent Steps
Quality Gates
Resulting actions
18Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Declarative & Scripted
Guided scripting for ease of use
Full powerful groovy scripting syntax
for power users
Declarative Pipeline Scripting
19Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Unit Test Pipeline
Cantata static metrics measure non-functional qualities of code.
20Copyright 2019 – QA Systems GmbH www.qa-systems.cn
The Same for Integration Tests
21Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Cantata Reports Linked from Pipelines
Monitoring test progress
Test execution on different variants (HW & SW)
Results Filtering – Additional Data
Trending history displays and Filters
22Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Accelerated Compliance Testing
Certified Unit & Integration Testing
23Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Technical Testing Challenges
CODE
COVERAGETOOL
INTEGRATION
AUTOMATION
CALL
INTERFACE
CONTROL
TRACING
REQUIREMENTS
TO TESTS
TEST
EVIDENCE
REPORT
Certified Solutions
CODE
CHANGES
24Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Target Deployment
Unlimited Target Deployment Capability
Control of on-target Configurations
Synchronise Static analysis & Dynamic testing
DevOps: CI / CD, SCM and Bug Tracking
IDE Integrations
Tool Integrations
Deployment to embedded targets should be straight forward
Integrating into a tool chain should not be a challenge
Integrated with your environment
© All Copyright and Trademarks of their respective owners are acknowledged
25Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Structured Flexible Tests
Unit / Integration
Black-Box / White-Box
Procedural / Object Oriented
Powerful Test Editing
Custom Code Injection
AutoTest
Regression Test Runs
Automatic Test Generation
Flexible Automation
Automatic test framework for unit & integration test
Automatic Test Case generation
Flexible testing styles
26Copyright 2019 – QA Systems GmbH www.qa-systems.cn
AutoTest Generation
Flexible application
 GUI or CLI invocation
 Complete suite of passing unit tests
 Additional test cases to fill gaps
 Black-box cluster integration test through public functions
 White-box unit isolation test of static functions
 Uses Cantata workspace preferences
Test cases exercise all paths through the code
 Entry-Point
 Statement
 Decision
 MC/DC (unique cause)
Test Cases are complete & maintainable for full control
 All required inputs: parameters + accessible data
 All expected outputs: parameters + accessed data + call-order
 Each test case path solving purpose explained
27Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Build RunTest
Exe
Instruments
AutoTest
Makefiles
Tests
Code
AutoTest Process
Code Copy
Generation
Report
Test Results
Automatic Test Generation
Automatic Test Execution
28Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Example AutoTest Exercise
• 541 Source Files
• 807 C Functions
• 55,151 Executable LoC
• 4,901 McCabe total complexity
Source
Files
• 93% Fully executed
• 95% Fully executed
• 95%+ Fully executed
• 5,035 Total test cases
• 336,355 Total checks
Tested
Source
Files
Execution
36 minutes
Generation
2.03 hours
29Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Control of Interfaces
Isolation of units from system
Multiple behaviors for each call
Control to Simulate & Intercept
Automatic generation
Simulated calls (Stubs and Isolates)
Intercept & use called object (Wrappers)
Resolved Link dependencies
Programmable instances for each call
Automated checks on parameters
Flexible call sequence control / test case
Intercept
Simulate
30Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Interface Testing by Type of Test
Integration Test‘Isolation’ Unit Test
31Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Coverage target integrated in tests
Diagnostics over stages / test runs
Coverage redundancy optimization
Simple Standards Compliance
Rule-Sets for safety standards and SILs
Metrics:
Standalone or integrated with Cantata tests
Powerful drill-down views, filters and reports
Automatic test case coverage optimization
Pin-point Analysis
Code Coverage
● Entry- Points ● Statements
● Decisions ● Call Returns
● Relational Operators ● Loops
● Conditions (inc. masking + unique cause MC/DC)
32Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Requirements Traceability
Bi-Directional Requirements Traceability
Imports requirements data to Cantata server
Text, images & hyperlinks
Drag & drop assignment
Controlled export with results
status and coverage
Integrated with Requirements / ALM Tools
Bi-directional requirements traceability
Integrate with existing Requirements Management Tools
Cantata Trace
LLT
HLR
LLR
Code
HL
T
© All Copyright and Trademarks of their respective owners are acknowledged
Requirements
Management Tools
33Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Easy Linking in Cantata Trace
Bi-directional drag and drop interface, immediately creates links on a server
Whole Test Scripts linked to Requirements
Individual TestCases linked to Requirements
34Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Evidence Reporting & Collaboration
Management View on Testing Status
Data centrally grouped & stored
Aggregates Test & Coverage Results
History and trends
Advanced filtering
Differentiates tests between runs
Timeframe selection
Team Collaboration
Avoids duplicating over workspaces
Reports & drills-down to details for internal / external sharing
Managers need centralized reporting for maximum control
Teams need to work together
Team Reporting (Add-on)
Web Interface
REST Query
35Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Code Change Analysis
Analysis of code changes and their impact on tests
Automation of changes to code dependent tests
Easier Test Maintenance
Stores last tested state of the SUT
Compares to current state of SUT
Change impacted test scripts identified
in Test Explorer
Identifies specific code changes in SUT
Changes linked to CDT editor
Suggests options for ‘updating’ the test
Displays accepted changes
Implements accepted change options
Keeps Code & Tests Synchronised
36Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Build
Cantata
Library
Run
Source
Code
Called
Objects Other
Libraries
Copy of
Source
Code
Copy of
Source
Code
Test
Script(s)
Options
Test
Exe
© All Copyright and Trademarks of their respective owners are acknowledged
Makefiles
Test Execution
Target
Independent
Target
Specific
Instrumented
37Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Connection
• USB
• JTAG
• Serial
• LAN
• Debugger
Pass/Fail
OS code
Host
File
Output
.CTR .CTG .COV
Run
Test
Exe
Target
Console
Summary ASCII
Results
Graphic
Results
Graphic
Coverage
De-Multiplex
Multiplex
Memory Buffer
No File
Output
Multiplex
Test Execution on Target
38Copyright 2019 – QA Systems GmbH www.qa-systems.cn
3 Part Automation
1 Automatic Test Vector Generation
Test case vectors from code exercising all paths (up to MC/DC coverage)
Sets input parameters & data throughout test execution
Checks expected vs actual data, input & output parameters and call order
3 Automated Traceability & Coverage Data Production
Complete Requirements imported/exported for testing
AutoTest cases generated with traceable descriptions
Test status, Requirements traceability & Structural coverage evidence
2 Automated Test Execution
Continuous integration build, run and reporting
39Copyright 2019 – QA Systems GmbH www.qa-systems.cn
DevOps Datasheet
Download our DevOps Datasheet and find
out how Cantata fits into a DevOps
Pipeline
Click the image to go to our website
https://www.qa-
systems.com/resources/?eID=tx_download_ajax&did=203
40Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Initial Passing Pipeline Run
41Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Now Failing Pipeline Run
42Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Re-passing Pipeline Run
43Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Pipeline Logs & Reporting
44Copyright 2019 – QA Systems GmbH www.qa-systems.cn
Learn More - Explore Cantata @ Website

More Related Content

PPTX
The Pursuit of Perfection - Methods, techniques, and tools to achieve robust ...
PPTX
Automated Low Level Requirements Testing for DO-178C
PPTX
Automating Test Maintenance as Code and Requirements Change
PPTX
Automated Requirements-Based Testing for Medical Device Software
PDF
What's New in Helix QAC 2019.1
PDF
Kovair Automotive Solution’s Compliance for ISO 26262 & ASPICE - Whitepaper
PDF
RA TechED 2019 - SY22 - The Future of Software Purchase and Maintenance
PDF
#ATAGTR2019 Presentation "AIML Driven extensive reusable Automation Asset Man...
The Pursuit of Perfection - Methods, techniques, and tools to achieve robust ...
Automated Low Level Requirements Testing for DO-178C
Automating Test Maintenance as Code and Requirements Change
Automated Requirements-Based Testing for Medical Device Software
What's New in Helix QAC 2019.1
Kovair Automotive Solution’s Compliance for ISO 26262 & ASPICE - Whitepaper
RA TechED 2019 - SY22 - The Future of Software Purchase and Maintenance
#ATAGTR2019 Presentation "AIML Driven extensive reusable Automation Asset Man...

What's hot (20)

PPTX
Migration from Weblogic to vFabric Cloud App Platform
PDF
RA TechED 2019 - PR03 - Implementation of PlantPAx Systems
PDF
3 martin heininger - software unit testing autonomous cars verified by aero...
PDF
ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...
PDF
How to Deliver Winning Mobile Apps
PPTX
SpiraPlan Overview Presentation (2021)
PPTX
PlantPAx® System - What’s New & What’s Next
PPTX
Batch Management: Overview and What’s New and
PPTX
PlantPAx system - what's new and what's next
PDF
[EN] Itris Automation - Company presentation
PPT
Daidalos Integration Framework TridentCom 2007
PPT
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
PDF
AutoSpice Agile Hand in Hand
PPTX
PS19 SQA Presentation
PPTX
Kovair ALM application on model based process improvement
PPTX
Automotive SPICE Level 3 and Beyond with codeBeamer ALM
PPTX
SpiraTest Overview Presentation (2019)
PDF
Microsoft power point from requiremens management to requirements authoring...
PDF
Gdd update icann53
PDF
Case Study: University of Chicago Achieves High Availability through a Centr...
Migration from Weblogic to vFabric Cloud App Platform
RA TechED 2019 - PR03 - Implementation of PlantPAx Systems
3 martin heininger - software unit testing autonomous cars verified by aero...
ARTIST: a global approach to cloudify applications, OW2 Open Cloud Forum at C...
How to Deliver Winning Mobile Apps
SpiraPlan Overview Presentation (2021)
PlantPAx® System - What’s New & What’s Next
Batch Management: Overview and What’s New and
PlantPAx system - what's new and what's next
[EN] Itris Automation - Company presentation
Daidalos Integration Framework TridentCom 2007
HP ALM, HP QC 11,QC 11, Quality Center 11, SAP TAO, SAP TAO 3.0, SAP TAO 4.0,...
AutoSpice Agile Hand in Hand
PS19 SQA Presentation
Kovair ALM application on model based process improvement
Automotive SPICE Level 3 and Beyond with codeBeamer ALM
SpiraTest Overview Presentation (2019)
Microsoft power point from requiremens management to requirements authoring...
Gdd update icann53
Case Study: University of Chicago Achieves High Availability through a Centr...
Ad

Similar to Automated DevOps Dynamic Testing for CI and CD (20)

PPSX
Automated Requirements-Based Testing for Medical Device Software.ppsx
PPTX
Automated requirements based testing for ISO 26262
PDF
The Modern QA.pdf
PDF
Building QA Team that matters for an Agile World
PPT
Software Project Management lecture 10
PPTX
Building Better Collaboration Between Development and Testing in a DevOps World
PDF
How TestOps is Redefining QA Testing in DevOps.pdf
PDF
Continuous Testing - What QA means for DevOps
PPTX
CI/CD and automated Test
PDF
Automation Testing Best Practices.pdf
PDF
How to Attain Business Success with CI_CD Pipeline Automation Testing (1).pdf
PPTX
Testing Process
PDF
Manual vs. Automated Testing_ Pros and Cons in the Modern Software Ecosystem.pdf
PPTX
Diving into the World of Test Automation The Approach and the Technologies
PDF
Agile Software Factory - Cloud Expo / DevOps Summit 2014 demo
PDF
How to get the most out of your CI/CD workflow using automated testing - Sauc...
PDF
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
 
PDF
Practical CI/CD Insights: Avoiding Pitfalls in Implementations
Automated Requirements-Based Testing for Medical Device Software.ppsx
Automated requirements based testing for ISO 26262
The Modern QA.pdf
Building QA Team that matters for an Agile World
Software Project Management lecture 10
Building Better Collaboration Between Development and Testing in a DevOps World
How TestOps is Redefining QA Testing in DevOps.pdf
Continuous Testing - What QA means for DevOps
CI/CD and automated Test
Automation Testing Best Practices.pdf
How to Attain Business Success with CI_CD Pipeline Automation Testing (1).pdf
Testing Process
Manual vs. Automated Testing_ Pros and Cons in the Modern Software Ecosystem.pdf
Diving into the World of Test Automation The Approach and the Technologies
Agile Software Factory - Cloud Expo / DevOps Summit 2014 demo
How to get the most out of your CI/CD workflow using automated testing - Sauc...
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
 
Practical CI/CD Insights: Avoiding Pitfalls in Implementations
Ad

Recently uploaded (20)

PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PDF
top salesforce developer skills in 2025.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
System and Network Administraation Chapter 3
PDF
Softaken Excel to vCard Converter Software.pdf
PPT
Introduction Database Management System for Course Database
PPTX
L1 - Introduction to python Backend.pptx
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
assetexplorer- product-overview - presentation
PPTX
history of c programming in notes for students .pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
wealthsignaloriginal-com-DS-text-... (1).pdf
CHAPTER 2 - PM Management and IT Context
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
Nekopoi APK 2025 free lastest update
top salesforce developer skills in 2025.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administraation Chapter 3
Softaken Excel to vCard Converter Software.pdf
Introduction Database Management System for Course Database
L1 - Introduction to python Backend.pptx
How to Choose the Right IT Partner for Your Business in Malaysia
Computer Software and OS of computer science of grade 11.pptx
Wondershare Filmora 15 Crack With Activation Key [2025
assetexplorer- product-overview - presentation
history of c programming in notes for students .pptx

Automated DevOps Dynamic Testing for CI and CD

  • 1. 0Copyright 2019 – QA Systems GmbH www.qa-systems.cn Automated DevOps Dynamic Testing for CI & CD
  • 2. 1Copyright 2019 – QA Systems GmbH www.qa-systems.cn Presenter Matt Davis Managing Director QA Systems Ltd
  • 3. 2Copyright 2019 – QA Systems GmbH www.qa-systems.cn DRIVING EMBEDDED SOFTWARE QUALITYDRIVING EMBEDDED SOFTWARE QUALITY QA SYSTEMS
  • 4. 3Copyright 2019 – QA Systems GmbH www.qa-systems.cn QA Systems Company History 1996 Company founded by Andreas Sczepansky in Stuttgart 2011 Subsidiary QA Systems Ltd (Bath, UK) founded 2012 Purchase of Cantata and AdaTEST from IPL Information Processing Ltd and transfer of complete engineering team to QA Systems Ltd. 2013 QA Systems France (Paris) founded 2014 Focus of business on Static and Dynamic Testing 2015 QA Systems Italy (Milan) founded 2018 Founded QA Systems North America Inc. (Boston, MA)
  • 5. 4Copyright 2019 – QA Systems GmbH www.qa-systems.cn Paris Munich StuttgartBath Stuttgart •Headquarters Munich •Office Bath •Engineering Centre Paris •Office Milan •Office Boston, MA •Office Milan QA Systems Company Locations Boston, MA
  • 6. 5Copyright 2019 – QA Systems GmbH www.qa-systems.cn India TECHTRUST & Meteonic Scandinavia Nohau Solutions China Watertek & Hirain Technologies Japan Toyo Corp. APAC / Korea EACT Technologies / UPS Technologies Russia AVD Systems QA Systems Reseller Network Taiwan GCOM Technologies Tukey TEKTRONIK
  • 7. 6Copyright 2019 – QA Systems GmbH www.qa-systems.cn Accelerated Compliance Testing Certified Unit & Integration Testing
  • 8. 7Copyright 2019 – QA Systems GmbH www.qa-systems.cn System Requirements SW System Requirements SW Unit Requirements SW Item Requirements Code SW System Test System Test SW Unit Test SW Integration Test Code Verification Order 1 Does code meet the quality standard?  Static Analysis 2 Does the code do what it should? Functional Requirements Testing Non-functional Requirements Testing 3 Does the code not do what it should? Robustness Testing 4 Has the code been tested enough? Structural Coverage Testing Testing in the Software Development Lifecycle Static Analysis
  • 9. 8Copyright 2019 – QA Systems GmbH www.qa-systems.cn Whole Development Organization Benefits Efficient automation to “Test Early, Test Often” Increased confidence in collaboration Increased control over delivery quality and time Certification ready proof of quality Cost of Quality Cost of Quality
  • 10. 9Copyright 2019 – QA Systems GmbH www.qa-systems.cn Selection of Customers
  • 11. 10Copyright 2019 – QA Systems GmbH www.qa-systems.cn AutoTest What is DevOps ?
  • 12. 11Copyright 2019 – QA Systems GmbH www.qa-systems.cn What is Continuous Integration / Delivery ?
  • 13. 12Copyright 2019 – QA Systems GmbH www.qa-systems.cn Continuous Integration Flow
  • 14. 13Copyright 2019 – QA Systems GmbH www.qa-systems.cn Continuous Delivery Flow
  • 15. 14Copyright 2019 – QA Systems GmbH www.qa-systems.cn Classic CI / CD Continuous Integration & Regression Testing Automated CI build and test runs via a CLI Cantata make files for CLI test build & run Classic Groovy scripting integrations for: Hyperlinks to Cantata Team Reporting
  • 16. 15Copyright 2019 – QA Systems GmbH www.qa-systems.cn Continuous Integration & Regression Testing Make files Works with existing make file systems Used with existing code tree – avoids sandboxing Hierarchy of gmake make files automatically maintained Separate target build files Build & run regression tests on CLI Customisable with pre-build and post- build commands for tool extensions e.g. Source Code Management tools Helix QAC Bug Tracking tools
  • 17. 16Copyright 2019 – QA Systems GmbH www.qa-systems.cn End  DeployStart  Static Analysis  System Test  Unit Test on host   on target X on target Y  Integration Test   on host on target X on target Y  Build Modern CI / CD with Pipelines Pipelines for Continuous Integration & Continuous Delivery Declarative Scripting for full pipeline CLI automation
  • 18. 17Copyright 2019 – QA Systems GmbH www.qa-systems.cn Steps in Pipeline Stages Each Pipeline Stage can automate various Steps with declarative scripting via CLI Stage Triggers Independent or Dependent Steps Quality Gates Resulting actions
  • 19. 18Copyright 2019 – QA Systems GmbH www.qa-systems.cn Declarative & Scripted Guided scripting for ease of use Full powerful groovy scripting syntax for power users Declarative Pipeline Scripting
  • 20. 19Copyright 2019 – QA Systems GmbH www.qa-systems.cn Unit Test Pipeline Cantata static metrics measure non-functional qualities of code.
  • 21. 20Copyright 2019 – QA Systems GmbH www.qa-systems.cn The Same for Integration Tests
  • 22. 21Copyright 2019 – QA Systems GmbH www.qa-systems.cn Cantata Reports Linked from Pipelines Monitoring test progress Test execution on different variants (HW & SW) Results Filtering – Additional Data Trending history displays and Filters
  • 23. 22Copyright 2019 – QA Systems GmbH www.qa-systems.cn Accelerated Compliance Testing Certified Unit & Integration Testing
  • 24. 23Copyright 2019 – QA Systems GmbH www.qa-systems.cn Technical Testing Challenges CODE COVERAGETOOL INTEGRATION AUTOMATION CALL INTERFACE CONTROL TRACING REQUIREMENTS TO TESTS TEST EVIDENCE REPORT Certified Solutions CODE CHANGES
  • 25. 24Copyright 2019 – QA Systems GmbH www.qa-systems.cn Target Deployment Unlimited Target Deployment Capability Control of on-target Configurations Synchronise Static analysis & Dynamic testing DevOps: CI / CD, SCM and Bug Tracking IDE Integrations Tool Integrations Deployment to embedded targets should be straight forward Integrating into a tool chain should not be a challenge Integrated with your environment © All Copyright and Trademarks of their respective owners are acknowledged
  • 26. 25Copyright 2019 – QA Systems GmbH www.qa-systems.cn Structured Flexible Tests Unit / Integration Black-Box / White-Box Procedural / Object Oriented Powerful Test Editing Custom Code Injection AutoTest Regression Test Runs Automatic Test Generation Flexible Automation Automatic test framework for unit & integration test Automatic Test Case generation Flexible testing styles
  • 27. 26Copyright 2019 – QA Systems GmbH www.qa-systems.cn AutoTest Generation Flexible application  GUI or CLI invocation  Complete suite of passing unit tests  Additional test cases to fill gaps  Black-box cluster integration test through public functions  White-box unit isolation test of static functions  Uses Cantata workspace preferences Test cases exercise all paths through the code  Entry-Point  Statement  Decision  MC/DC (unique cause) Test Cases are complete & maintainable for full control  All required inputs: parameters + accessible data  All expected outputs: parameters + accessed data + call-order  Each test case path solving purpose explained
  • 28. 27Copyright 2019 – QA Systems GmbH www.qa-systems.cn Build RunTest Exe Instruments AutoTest Makefiles Tests Code AutoTest Process Code Copy Generation Report Test Results Automatic Test Generation Automatic Test Execution
  • 29. 28Copyright 2019 – QA Systems GmbH www.qa-systems.cn Example AutoTest Exercise • 541 Source Files • 807 C Functions • 55,151 Executable LoC • 4,901 McCabe total complexity Source Files • 93% Fully executed • 95% Fully executed • 95%+ Fully executed • 5,035 Total test cases • 336,355 Total checks Tested Source Files Execution 36 minutes Generation 2.03 hours
  • 30. 29Copyright 2019 – QA Systems GmbH www.qa-systems.cn Control of Interfaces Isolation of units from system Multiple behaviors for each call Control to Simulate & Intercept Automatic generation Simulated calls (Stubs and Isolates) Intercept & use called object (Wrappers) Resolved Link dependencies Programmable instances for each call Automated checks on parameters Flexible call sequence control / test case Intercept Simulate
  • 31. 30Copyright 2019 – QA Systems GmbH www.qa-systems.cn Interface Testing by Type of Test Integration Test‘Isolation’ Unit Test
  • 32. 31Copyright 2019 – QA Systems GmbH www.qa-systems.cn Coverage target integrated in tests Diagnostics over stages / test runs Coverage redundancy optimization Simple Standards Compliance Rule-Sets for safety standards and SILs Metrics: Standalone or integrated with Cantata tests Powerful drill-down views, filters and reports Automatic test case coverage optimization Pin-point Analysis Code Coverage ● Entry- Points ● Statements ● Decisions ● Call Returns ● Relational Operators ● Loops ● Conditions (inc. masking + unique cause MC/DC)
  • 33. 32Copyright 2019 – QA Systems GmbH www.qa-systems.cn Requirements Traceability Bi-Directional Requirements Traceability Imports requirements data to Cantata server Text, images & hyperlinks Drag & drop assignment Controlled export with results status and coverage Integrated with Requirements / ALM Tools Bi-directional requirements traceability Integrate with existing Requirements Management Tools Cantata Trace LLT HLR LLR Code HL T © All Copyright and Trademarks of their respective owners are acknowledged Requirements Management Tools
  • 34. 33Copyright 2019 – QA Systems GmbH www.qa-systems.cn Easy Linking in Cantata Trace Bi-directional drag and drop interface, immediately creates links on a server Whole Test Scripts linked to Requirements Individual TestCases linked to Requirements
  • 35. 34Copyright 2019 – QA Systems GmbH www.qa-systems.cn Evidence Reporting & Collaboration Management View on Testing Status Data centrally grouped & stored Aggregates Test & Coverage Results History and trends Advanced filtering Differentiates tests between runs Timeframe selection Team Collaboration Avoids duplicating over workspaces Reports & drills-down to details for internal / external sharing Managers need centralized reporting for maximum control Teams need to work together Team Reporting (Add-on) Web Interface REST Query
  • 36. 35Copyright 2019 – QA Systems GmbH www.qa-systems.cn Code Change Analysis Analysis of code changes and their impact on tests Automation of changes to code dependent tests Easier Test Maintenance Stores last tested state of the SUT Compares to current state of SUT Change impacted test scripts identified in Test Explorer Identifies specific code changes in SUT Changes linked to CDT editor Suggests options for ‘updating’ the test Displays accepted changes Implements accepted change options Keeps Code & Tests Synchronised
  • 37. 36Copyright 2019 – QA Systems GmbH www.qa-systems.cn Build Cantata Library Run Source Code Called Objects Other Libraries Copy of Source Code Copy of Source Code Test Script(s) Options Test Exe © All Copyright and Trademarks of their respective owners are acknowledged Makefiles Test Execution Target Independent Target Specific Instrumented
  • 38. 37Copyright 2019 – QA Systems GmbH www.qa-systems.cn Connection • USB • JTAG • Serial • LAN • Debugger Pass/Fail OS code Host File Output .CTR .CTG .COV Run Test Exe Target Console Summary ASCII Results Graphic Results Graphic Coverage De-Multiplex Multiplex Memory Buffer No File Output Multiplex Test Execution on Target
  • 39. 38Copyright 2019 – QA Systems GmbH www.qa-systems.cn 3 Part Automation 1 Automatic Test Vector Generation Test case vectors from code exercising all paths (up to MC/DC coverage) Sets input parameters & data throughout test execution Checks expected vs actual data, input & output parameters and call order 3 Automated Traceability & Coverage Data Production Complete Requirements imported/exported for testing AutoTest cases generated with traceable descriptions Test status, Requirements traceability & Structural coverage evidence 2 Automated Test Execution Continuous integration build, run and reporting
  • 40. 39Copyright 2019 – QA Systems GmbH www.qa-systems.cn DevOps Datasheet Download our DevOps Datasheet and find out how Cantata fits into a DevOps Pipeline Click the image to go to our website https://www.qa- systems.com/resources/?eID=tx_download_ajax&did=203
  • 41. 40Copyright 2019 – QA Systems GmbH www.qa-systems.cn Initial Passing Pipeline Run
  • 42. 41Copyright 2019 – QA Systems GmbH www.qa-systems.cn Now Failing Pipeline Run
  • 43. 42Copyright 2019 – QA Systems GmbH www.qa-systems.cn Re-passing Pipeline Run
  • 44. 43Copyright 2019 – QA Systems GmbH www.qa-systems.cn Pipeline Logs & Reporting
  • 45. 44Copyright 2019 – QA Systems GmbH www.qa-systems.cn Learn More - Explore Cantata @ Website