Test funzionali, baseline, multirelease e paralleli
In Simulink® Test™, è possibile eseguire questi tipi di test:
Funzionale: utilizza i requisiti funzionali per sviluppare casi di test e suite di test che analizzano se i componenti del modello soddisfano tali requisiti.
Baseline: confronta i risultati del test con un file di valori di output salvati.
Multirelease: utilizza più di una release per eseguire un test e verificare che i risultati non siano cambiati tra una release e l'altra.
Parallelo: riduce il tempo di esecuzione del test, in particolare per modelli complessi di Simulink che richiedono molto tempo per la simulazione o per test con più iterazioni di test che richiedono molto tempo per l'esecuzione. Per eseguire test in parallelo sul computer locale o sul cluster, è necessario che sia installato Parallel Computing Toolbox™. Per eseguire test su un cluster remoto o nel cloud, è necessario che sia installato MATLAB® Parallel Server™.
Argomenti
- Perform Functional Testing and Analyze Test Coverage
Analyze functional dependencies, test model components in isolation, create suites of test cases, test models, and code to achieve coverage.
- Baseline Testing
Create and run a test that compares updated model simulation data with baseline data.
- PASSAGGIO 1: Author a Baseline Test Case
- PASSAGGIO 2: Compare Simulation to Baseline Data
- PASSAGGIO 3: Create a Test Results Report
- Run Tests in Multiple Releases of MATLAB
Compare test results across multiple MATLAB releases.
- Run Tests Using Parallel Execution
Decrease test time using Parallel Computing Toolbox or MATLAB Parallel Server.
- Override Model Parameters in a Test Case
Compare simulation to baseline data using a parameter override and the Test Manager.
- Override the Simulation Mode During Test Execution
This example shows how to override the simulation mode when you run a test.
- Test Execution Order
Order in which models load, and test cases, iterations, and callbacks run.
