• Technical Support
  • Contacto
  • Blog
  • Español
    • English
    • Français
    • Deutsch
    • Italiano
    • Português
    • 简体中文
  • Herramientas
    • ANÁLISIS ESTÁTICO
      • QA-MISRA
        Análisis en profundidad para el código industrial en C/C++
      • Cantata Test Architect
        Comprender, definir y controlar la arquitectura del software
      • Métricas de Código Fuente
        Métricas de código fuente automatizadas para C / C ++
      • Obtener una demostración
         
    • TESTS DEL SOFTWARE
      • Cantata
        Pruebas de unidades e integración automatizadas de código C/C++
      • Cantata Team Reporting
        Complemento del panel de gestión de estado
      • AdaTEST 95
        Pruebas de unidades e integración automatizadas de código Ada
      • ¿Por qué pagar por una herramienta de prueba de unidades?
  • Soluciones
    • SECTORES
      • Automóvil
      • Energía
      • Dispositivos Médicos
      • Automatización Industrial
      • Ferrocarriles
      • Aeroespacial y Defensa
      • Crítico para el Negocio
      • E
      • E
      • Obtener una demostración
         
    • SOLUCIONES
      • ISO 26262
      • IEC 60880
      • IEC 62304
      • IEC 61508
      • EN 50128 / 50657
      • DO-178C
      • MISRA
      • AUTOSAR
      • CERT
      • ¿Por qué pagar por una herramienta de prueba de unidades?
  • Academia
    • Seminarios
    • Formaciones
    • Seminarios web
    • Orador
    • Formulario de Inscripción
  • Empresa
    • Sobre la Empresa
    • Equipo de Gestión
    • Socios
    • Noticias
    • Eventos
    • Bolsa de Trabajo
    • Obtener una Demostración
  • Recursos
  • Porsche
  • Español
    • Inglés
    • Francés
    • Alemán
    • Italiano
    • Portugués, Portugal
    • Chino simplificado
  • Herramientas
    • ANÁLISIS ESTÁTICO
      • QA-MISRA
      • Cantata Test Architect
      • MÉTRICAS DE CÓDIGO FUENTE
    • Software Testing
      • Cantata Team Reporting
      • Cantata
      • Adatest 95
  • Soluciones
    • Sectores
      • Automóvil
      • Energía
      • Dispositivos Médicos
      • Automatización Industrial
      • Ferrocarriles
      • Aeroespacial y Defensa
      • Crítico para el Negocio
    • Soluciones
      • ISO 26262
      • IEC 60880
      • IEC 62304
      • IEC 61508
      • EN 50128 / 50657
      • DO-178C
      • Misra
      • Autosar
      • CERT
  • Academia
    • Seminarios
    • Formaciones
    • Seminarios web
    • Orador
    • Testimonials
  • Empresa
    • Sobre la Empresa
    • Equipo de Gestión
    • Socios
    • Noticias
    • Eventos
    • Bolsa de Trabajo
  • Recursos
  • Blog
  • Contacto
Code Coverage
in DevOps
Code Coverage
in DevOps
QA Systems > Embedded Software Testing Solutions for C/C++ > Cantata in DevOps

Continuous testing with Cantata

 

Within a DevOps pipeline Cantata provides automated continuous unit and integration testing. Cantata tests can be run automatically every time code is checked-in to verify new or changed code. Cantata is easy to fit into DevOps pipeline and offers:

  • A comprehensive command line interface enabling testing as code
  • Tests generated/written in clean C/C++
  • An API with access to test inputs and results data
  • Open standard file types for third party tool integrations
  • Parallelized testing under a SaaS licencing model for scalable DevOps

All tool options are available for direct command line invocation, lending itself to automation in scripts, makefiles, batch files, and Jenkins declarative pipelines within a DevOps or Continuous Integration/ Continuous Delivery framework.

Test infrastructure as code

 

Cantata test cases, test harnesses and stubs and wrappers are all generated as clean code. Cantata’s test scripts are generated as C or C++ code, they are simple to read, well structured and easy to maintain.

Tests written in the same language as the code under test make it intuitive to edit and customize test scripts. This format enables the tests to be maintained alongside the code under test. If your infrastructure is also maintained as code, this guarantees repeatable, deterministic results every time you build and run your unit and integration tests.

Impact Analysis

 

Impact Analysis can be used to automatically re-run only the Cantata tests impacted by code changes, a technique sometimes referred to as ‘change based testing’. This is done by calculating the transitive closure of a software change to determine which code files have changed and which particular tests have been impacted (touched) by those files. This means that only the relevant subset of tests need to be re-run, reducing the complexity and execution time of the pipeline.

Cantata in a DevOps Pipeline

 

The Cantata test framework can be used for multiple optional steps within the static analysis and software test stages in a DevOps Pipeline. With workflow triggered by a commit to a repository, these steps with their example quality gates are described below:

Static metrics

 

Generated at build time Cantata static metrics provide useful information on non-functional qualities of the source code, such as its complexity and ongoing maintainability.

Build and run impacted unit tests

 

Where an existing suite of unit tests is available only impacted tests need to be built and run. Cantata measures structural code coverage achieved and produces certifiable results data.

Auto-generate missing tests

 

The Cantata AutoTest feature automatically generates test cases to exercise all code paths according to a structural coverage metric. This can be used on code with no existing unit tests to generate a set of baseline tests. For code with existing unit tests AutoTest can be used to generate extra tests as needed to achieve the required code coverage. Cantata can also automatically generate a test case per function as a useful start point for test creation.

Requirements-based unit tests

 

Bi-directional trace relationships between Cantata test cases and requirements can be established within the Cantata UI. Data for this is then available via a REST API enabling verification of these relationships as a quality gate within a DevOps pipeline.

Build and run impacted integration tests

 

Cantata integration tests can also be run within a DevOps pipeline. The unique Cantata Wrapping feature provides powerful integration testing by enabling calls to be intercepted as an addition to mocking or stubbing which simulates calls.

Requirements-based integration tests

 

Data is also available via REST API for trace relationships between integration test cases and requirements.

GET A DEMO

QA Systems GmbH
Roggenstrasse 11
71334 Waiblingen | Germany

© 2021 QA SYSTEMS GMBH

Phone: +49 (0)711 138183 -0
Fax: +49 (0)711 138183 -10
E-Mail: [email protected]

  • Imprint
  • Privacy Policy
  • Contact
  • Resources

Newsletter

Get the latest technology news updates, product releases plus tips and tricks:

Suscribirse al Boletín
  • Seguir
  • Seguir

Newsletter

Get the latest technology news updates, product releases plus tips and tricks:

Suscribirse al Boletín
  • Seguir
  • Seguir

Phone: +49 (0)711 138183 -0
Fax: +49 (0)711 138183 -10
[email protected]

  • Imprint
  • Privacy Policy
  • Contact
  • Resources

QA Systems GmbH
Roggenstrasse 11
71334 Waiblingen Stuttgart | Germany

© 2021 QA SYSTEMS GMBH

Start
Trial
×

Login

¿Olvidó su contraseña?

Or

 

Create an Account

Sign up for access to premium content
Register for full access to our extensive resources library.
  • Este campo es un campo de validación y debe quedar sin cambios.

×

Cantata in DevOps

Academy Registration Form

  • Contact details attendee

  • QA Systems arranges a block booking of rooms for seminar participants at the respective hotels, usually with special rates. The participants are responsible for their own reservation, payment, etc. If you wish to receive the hotel information, please tick:
  • Este campo es un campo de validación y debe quedar sin cambios.