You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,24 +24,28 @@ RobotMBT offers features to cover both _when_ and _what_ variations.
24
24
25
25
RobotMBT is suitable for sequencing complete scenarios, including action refinement for when-steps. Concrete example scenarios can be generalised for added data-driven variation. When all steps are properly annotated with modelling info, the library can resolve their dependencies and figure out the correct execution order. Each run a new test sequence is generated from the available options.
26
26
27
-
To be successful, the set of scenarios in the model must (for now) be composable into a single complete sequence, without leftovers. The same scenario can be inserted multiple timesif repetition helps to reach the entry condition for later scenarios.
27
+
To be successful, the set of scenarios in the model must (for now) be composable into a single complete sequence, without leftovers. The same scenario can be inserted into the trace multiple times, creating loops, if repetition helps to reach the entry condition for later scenarios. Dead ends should be prevented, i.e., sequences from which there is no way forward and no way to loop back.
28
28
29
29
## Getting started
30
30
31
-
To get a feel for what this library can do, have a look at our [Titanic themed demo](https://github.com/JFoederer/robotframeworkMBT/tree/main/demo/Titanic), which is executable as a [Robot framework](https://robotframework.org/) test suite.
32
-
33
31
The recommended installation method is using [pip](http://pip-installer.org)
34
32
33
+
pip install --upgrade robotframework-mbt[full]
34
+
35
+
The full installation includes additional graphical dependencies to help during model creation. These are optional. The minimum installation includes everything you need to create and run model-based test suites.
36
+
35
37
pip install --upgrade robotframework-mbt
36
38
37
-
After installation include `robotmbt` as library in your robot file to get access to the new functionality. To run your test suite model-based, use the __Treat this test suite model-based__ keyword as suite setup. Check the _How to model_ section to learn how to make your scenarios suitable for running model-based.
39
+
After installation, include `robotmbt` as library in your robot file to get access to the new functionality. To run your test suite model-based, use the __Treat this test suite model-based__ keyword as suite setup. Check the _How to model_ section to learn how to make your scenarios suitable for running model-based.
38
40
39
41
```robotframework
40
42
*** Settings ***
41
43
Library robotmbt
42
44
Suite Setup Treat this test suite model-based
43
45
```
44
46
47
+
To get a feel for what this library can do, have a look at our [Titanic themed demo](https://github.com/JFoederer/robotframeworkMBT/tree/main/demo/Titanic), which is executable as a [Robot framework](https://robotframework.org/) test suite.
48
+
45
49
## How to model
46
50
47
51
Modelling can be done directly from [Robot framework](https://robotframework.org/), without the need for additional tooling besides [RobotMBT](https://github.com/JFoederer/robotframeworkMBT).
@@ -211,14 +215,14 @@ Using `seed=new` will force generation of a new reusable seed and is identical t
211
215
212
216
A graph can be included in the log file to visualise how scenarios are linked. This helps in understanding a test suite's structure and reveals alternative paths that did not make it into the final trace.
213
217
214
-
To enable graph generation, some extra dependencies must be installed: `pip install robotframework-mbt[visualisation]`
215
-
216
218
Generate the graph by setting the graph style for the model-based suite. The graph will be included in the Robot log file as part of the keyword's logging.
217
219
218
220
```robotframework
219
221
Treat this test suite Model-based graph=scenario
220
222
```
221
223
224
+
_Note_: The graphing functionality requires the _full_ installation package: `pip install robotframework-mbt[full]`
0 commit comments