Model-Based Testing in Robot framework with test case generation
Project description
robotframeworkMBT - the oneliner
Model-based testing in Robot framework with test case generation
Introduction
This project is an extension to Robot framework for model-based testing. The term model-based testing, or MBT in short, has been used in many different ways. Within this context two modelling aspects are most important. The first is about domain modelling using a domain specific language, or DSL. Robot framework already has great support for this aspect, which is why it was used as a base. The second aspect is about test case generation.
Test case generation introduces a more dynamic approach to executing a test suite. A typical traditional test suite is executed front to back. For maintainability reasons, test cases are often kept independent of each other. The down side to this approach is that there is little variation and often a lot of duplication, mostly during the setup phases.
With this project we aim to get the best of both worlds. Allowing testers to write small, independent cases that are automatically combined. Finding more issues in less time, by focusing on effectively reaching the desired coverage.
Installation
The recommended installation method is using pip
pip install robotframework-mbt
After installation include robotmbt
as library in your robot file to get access to the new functionality.
Capabilities
Current capabilities focus around complete scenarios. When all steps are properly annotated with modelling info, the library can resolve their dependencies to figure out the correct execution order. To be successful, the set of scenarios in the model must be composable into a single complete sequence, without repetitions or leftovers.
To get a feel for what this library can do, have a look at our Titanic themed demo. Please note that this library is in a premature state and hasn't reached its first official release yet. Developments are ongoing within the context of the TiCToC research project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for robotframework_mbt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 596f14385de870865381025595ba85e09465a2748fb365a817e49c3eb04a4e92 |
|
MD5 | a4b9820d99a4cbb96815e963d8200cd7 |
|
BLAKE2b-256 | 2c97715dd1b7fb2d63143524950671caac61f0f824b1603debb77217e4c70b7a |