Model based testing is a software testing technique where run time behavior of software under test is checked against predictions made by a model.
A model is a description of a system’s behavior. Behavior can be described in terms of input sequences, actions, conditions, output and flow of data from input to output.
A model should be practically understandable and can be reusable; shareable must have a precise description of the system under test.
There are two types of Model based testing framework:
- Offline / a priori: Generation of Test Suites before executing it. A test suite is nothing but a collection of test cases.
- Online / on-the-fly: Generation of Test Suites during test execution
The benefits of model based testing can be significant, such as:
- Easy test case/suite maintenance
- Reduction in Cost
- Improved Test Coverage
- Can run different tests on n number of machines
- Early defect detection
- Increase in defect count
- Time savings
- Improved tester job satisfaction
Want to learn more? Tonex offers Model Based Testing Training, a 3-day course that covers the application of model based design for designing and optionally executing artifacts. These models can be used to represent the desired behavior of a system under test (SUT), or to represent testing strategies and a test environment.
Additionally, Tonex offers more than a dozen other courses in MBSE training, including:
—MBSE Training Crash Course (4 days)
—Model Based Requirements Engineering (4 days)
—SysML Training Crash Course (4 days)
—Requirements Engineering Workshop with Use Cases (3 days)
For more information, questions, comments, contact us.