Métricas de pruebas de código y modelos
Utilice métricas de pruebas de modelos y códigos para evaluar el estado de las pruebas de los modelos de unidades de software. Abra Model Testing Dashboard para supervisar las unidades y los artefactos de pruebas de modelos en un proyecto. A medida que define artefactos como requisitos, diseña modelos de unidades y ejecuta pruebas unitarias, el panel mide la trazabilidad y la integridad de los artefactos de prueba para cada unidad. Después de completar la prueba del modelo, abra los paneles de pruebas de código SIL o de pruebas de código PIL para monitorear los resultados de las pruebas de código de software-in-the-loop (SIL) o processor-in-the-loop (PIL), respectivamente. Utilice los resultados de las métricas para agregar enlaces de trazabilidad faltantes, completar las pruebas y realizar un seguimiento del progreso. También puede utilizar la API de métricas para recopilar resultados de métricas programáticamente, como en un sistema de integración continua, y guardar los resultados en un informe.
Apps
Model Testing Dashboard | Assess verification status and quality of your model and generated code |
Clases
Funciones
Temas
Prueba de modelos
- Explore Status and Quality of Testing Activities Using Model Testing Dashboard
Evaluate the status and quality of model testing in your project. - Assess Requirements-Based Testing for ISO 26262
Use the Model Testing Dashboard to analyze the completeness and quality of requirements-based testing activities in accordance with the ISO 26262 standard. - Fix Requirements-Based Testing Issues
Fix model testing quality issues by using the Model Testing Dashboard. - Monitor Low-Level Test Results in the Model Testing Dashboard
Run subsystem-level tests and analyze aggregated model coverage. - Hide Requirements Metrics in Model Testing Dashboard and in API Results
Hide requirements metrics to display only the metrics for your test case breakdown, model test status, and model coverage. - View Model Testing Status in Simulink Test Manager
View the status and quality of your model testing activities from Simulink Test Manager. - Collect Metrics on Model Testing Artifacts Programmatically
Use a script to assess the quality of your requirements-based testing. - Collect Requirements-Based Testing Metrics Using Continuous Integration
Use a continuous integration system to test models and assess requirements-based testing completeness. - Model Testing Metrics
Use the model testing metrics to return metric data on the status and quality of your model testing.
Prueba de código
- View Status of Code Testing Activities for Software Units in Project
Use the SIL Code Testing or PIL Code Testing dashboards to assess the compliance of software-in-the-loop (SIL) and processor-in-the-loop (PIL) code testing. - Identify and Troubleshoot Gaps in Code Testing Results and Coverage
Use the code testing dashboards to assess and address code testing issues. - Evaluate Status of Back-to-Back Testing for Software Units
Compare test results back-to-back in the code testing dashboards. - Collect Code Testing Metrics Programmatically
Use a script to assess the status and quality of your code testing. - Code Testing Metrics
Use the code testing metrics to return metric data on the status and quality of your software-in-the-loop (SIL) and processor-in-the-loop (PIL) testing.
Trazabilidad de artefactos
- Create Project to Use Model Design and Model Testing Dashboards
Create a project for your model and use the dashboards to analyze the files in your project. - Manage Project Artifacts for Analysis in Dashboard
Set up and manage a project that uses the dashboards. - Categorize Models in Hierarchy as Components or Units
Label models by their testing interface to more easily track requirements-based testing activities for a model hierarchy. - Explore Traceability Information Using Trace Views
View relationships between project artifacts like models, libraries, data dictionaries, requirements, tests, and test results. - Monitor Artifact Traceability and Detect Outdated Results with Digital Thread
Monitor the relationships between artifacts and identify outdated results. - View Artifact Issues in Project
Identify and fix the artifact issues that can lead to incorrect metric results. - Resolve Missing Artifacts, Links, and Results
Troubleshoot artifact tracing and analysis in the dashboards.