Testing Models with MTest

From Requirements to Model Testing - 3 days

 

Date Location Language
Jan 29–31, 2020 Berlin, Germany
Registration
German

More dates and in-house training classes available worldwide on request: sales@model-engineers.com.

 

This training class provides a comprehensive overview of the principles, processes, and objectives of model testing with the MES Test Manager (MTest) from requirements to model tests. We offer step-by-step guidance from creating requirements-based test specifications, through testing TargetLink and/or Embedded Coder models, to automated test evaluation based on test assessments and back-to-back/regression tests. In particular, we will emphasize ISO 26262-compliant test management and explain the test process for MiL and SiL, as well as tracing requirements to test specifications and test assessments. You will learn all process steps by means of hands-on practical exercises using Simulink and TargetLink or Embedded Coder models and MTest as a model test framework. This training class includes lots of hands-on sessions with MTest.

Target Audience

This training class is aimed at developers and testers, who want to learn how to use the MTest for testing. Experience with model-based development of embedded software based on MATLAB/Simulink related to TargetLink/Embedded Coder is advantageous. Share your experiences and discuss with other users of the MES Test Manager (MTest).

Highlights

  • Test objectives and workflow
  • Test management
  • Test specification with MTCD
  • Testing TargetLink/Embedded Coder models
  • IRegression and back-to-back testing
  • Automated test evaluation with test assessments
  • Model and code coverage
  • Insight into test progress and test quality
  • Several hands-on sessions with MTest

Costs and Conditions

See PDF for fees, terms, and conditions.

Agenda - Day 1

TIME TOPIC
10 a.m. Welcome and introduction round
10:30 a.m. Introduction to model testing
  • Objectives, workflow, and process steps of model testing
  • Test specification methods
  • Test evaluation methods
  • Test documentation
  • Tracing requirements in model testing
  • Setting up the work environment for the workshop
  • 11:30 a.m. Introduction to sample models
  • Setup of testing environment
  • Introduction to sample models
  • Introduction to customer models
  • Walk-through (MTest)
  • 12:30 p.m. Lunch break and open dialog
    1:30 p.m. Systematic requirements-based specification of test sequences
  • Definition of test groups and test sequences with MTCD
  • Specification functions in MTCD (functions, synchronous, asynchronous)
  • Parameter handling with MTCD
  • Specification of test cases using variation
  • Best practices for test specifications
  • 3 p.m.Short break
    3:15 p.m. Hands-on: Test specification
  • In-depth work based on practical exercises
  • Joint creation of test specifications
  • Executing test sequences
  • Using parameters for modifying test sequences efficiently
  • 5 p.m. End of day 1

    Agenda - Day 2

    TIME TOPIC
    9 a.m. Testing TargetLink and Embedded Coder models and model/code coverage
  • Automated test bed creation and module testing for subsystems
  • Advanced support of code generation in model testing
  • Model coverage for all MiL test platforms
  • Code coverage for SiL/PiL test platforms
  • 10 a.m. Hands-on: Increasing model/code coverage
  • Automatic test execution for MiL/SiL/PiL
  • Interpretation and evaluation of coverage reports
  • Increasing model/code coverage through structure-based test cases
  • Logging internal signals
  • 11 a.m. Back-to-back and regression comparison
  • Area of application (MiL vs. SiL vs. PiL, model simulation vs. measurement data)
  • Combination of test assessments and back-to-back/ regression testing
  • Conversion of output signals into reference signals
  • 12:30 p.m. Lunch break and open dialog
    1:30 p.m. Hands-on: Test evaluation
  • Execution and documentation of test evaluation in report
  • Definition of tolerances (amplitude and time)
  • 2:15 p.m. Introduction to automated test evaluation with test assessments
  • Principles and objectives of test assessments
  • Structure and content of test assessments
  • 3:15 p.m. Short break
    3:30 p.m. Assessment generation from requirements (MARS)
  • Types of requirement patterns
  • Benefits of a formal requirements syntax
  • Assessment generation
  • 5 p.m. End of day 2

    Agenda - Day 3

    TIME TOPIC
    9 a.m. Requirements-based test case creation and generation
  • How does the equivalence class method work and how can it help?
  • Creating test sequences with the classification tree method
  • Boundary value testing
  • Generation of test sequences from formal requirements
  • 10:30 a.m. Hands-on: Requirements-based test case generation
  • Automated stimulation and evaluation
  • Inspection of coverage and trigger behavior
  • 12 p.m. Lunch break and open dialog
    1 p.m. MTest and Continuous Integration
  • Workflow of test projects using CI
  • MES Jenkins Plugin
  • Demo: MTest and Jenkins
  • 2 p.m. Hands-on: Complete setup of test project
  • Create test project
  • Select test object and corresponding requirements
  • Formalize requirements
  • Create test sequences and simulate
  • Create test assessments and evaluate
  • Inspect model/code coverage and write further test sequences
  • Perform back-to-back test and configure tolerances
  • 3 p.m. Short break
    3:15 p.m. Result and progress overview
  • Where can I see the progress of my test project? (tracing, coverage, project integrity)
  • Are the requirements correctly implemented in the test object? (assessment catalog)
  • What is the quality of test results? (test catalog, test report)
  • When am I done testing?
  • 4 p.m. Hands-on: Results and progress
  • What is the efficient workflow after requirement modifications?
  • Modifying test specifications and test assessments after requirements changes
  • Review of test specifications and test assessments
  • 4:45 p.m. Wrap up of the event
    5 p.m. End of training class