BPMN 2.0 Test Cases (Models, Diagrams, Serializations) created by the BPMN Model Interchange Working Group (BPMN MIWG) at the OMG.
For more information see: http://www.omgwiki.org/bpmn-miwg
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
Everybody is welcome to test BPMN tools and submit results to the working group, not just tools vendors. Here is how you do it:
First download the latest version of the BPMN Model Interchange Test Suite and unpack it.
The top level directories of the test suite distinguish different categories of tests.
Inside each category there is a directory called Reference
, which contains the files needed for testing.
Next to that, there will be multiple folders with test results of other tools.
There are three different test procedures that can be performed with the provided reference models depending on the capabilities of the tool. You will find explanations of these three procedures below.
Package all result files in a zip file and attach it to a new issue. Make sure to provide the exact name and version of the tool that you tested in the issue title.
Alternatively, you may also fork the repository on GitHub and submit test results through a pull request.
Available Features | Possible Tests |
---|---|
import only | import |
export only | export |
import & export | import, export & roundtrip |
If the tool under test supports the import of BPMN XML files, you can test that feature using the following procedure:
- Import the BPMN XML file (*.bpmn) provided with a reference model into the tool, e.g.
A.1.0.bpmn
. - Save the grapical representation of the model as imported to a file named
<test id>-import.<file type>
, e.g.A.1.0-import.png
. You can either do that through an export feature of the tool, e.g. a PNG, JPEG or PDF Export, or by taking a screenshot of the canvas. - Compare the result with the image provided with the reference model, e.g.
A.1.0.pdf
and report your findings in the spreadsheetResults.xlsx
.
Repeat these steps for all reference models.
If the tool under test supports the export of BPMN XML files, you can test that feature using the following procedure:
- Draw the model as shown in the image provided with a reference model into the tool, e.g.
A.1.0.pdf
. - Save the grapical representation of the model as drawn to a file named
<test id>-export.<file type>
, e.g.A.1.0-export.png
. You can either do that through an export feature of the tool, e.g. a PNG, JPEG or PDF Export, or by taking a screenshot of the canvas. - Export the model into a BPMN XML file (*.bpmn) named
<test id>-export.bpmn
, e.g.A.1.0-export.bpmn
. - Compare the result with the BPMN XML file (*.bpmn) provided with the reference model, e.g.
A.1.0.bpmn
, and report your findings in the spreadsheetResults.xlsx
.
Repeat these steps for all reference models.
If the tool under test supports the import and export of BPMN XML files, you can test a roundtrip using the following procedure:
- Import the BPMN XML file (*.bpmn) provided with a reference model into the tool, e.g.
A.1.0.bpmn
. - If not already done during an import test, save the grapical representation of the model as it is imported to a file named
<test id>-import.<file type>
, e.g.A.1.0-import.png
. You can either do that through an export feature of the tool, e.g. a PNG, JPEG or PDF Export, or by taking a screenshot of the canvas. - Export the model into a BPMN XML file (*.bpmn) named
<test id>-roundtrip.bpmn
, e.g.A.1.0-roundtrip.bpmn
. - Compare the result with the BPMN XML file (*.bpmn) provided with the reference model, e.g.
A.1.0.bpmn
, and report your findings in the spreadsheetResults.xlsx
.
Repeat these steps for all reference models.
The top level defines test categories.
The second level is either a vendor or the submitted reference.
The third level holds the individual test case files in the form <identifier>-<test type>.filetype
.
The vendor who provided the reference model for a test case will be identified in the summarising spreadsheet Results.xlsx
.
- README.md (this file)
- Results.xslx
- A - Fixed Diagrams with Variations of Attributes
- Reference <-- reference files for testing
- A.1.0.png - A.1.0.bpmn <-- look in spreadsheet `BPMN MIWG Test Case Structure.xlsx` to find vendor who provided this reference - ...
- Business Process Incubator 4.?.? <-- test results
- A.1.0-import.png - A.1.0-export.png - A.1.0-export.bpmn - A.1.0-roundtrip.bpmn - ...
- camunda Modeler 2.0.11 <-- test results
- A.1.0-import.png - A.1.0-roundtrip.bpmn - ...
- MID Innovator 11.5.1.30223 <-- test results
- A.1.0-import.png - A.1.0-export.bpmn - ...
- Reference <-- reference files for testing
- B - Validate that tool covers conformance class set
- Reference <-- reference files for testing
- Business Process Incubator 4.?.? <-- test results
- camunda Modeler 2.0.11 <-- test results
- ...