Sharing step definitions across test suites (BDD)

Skip to end of metadata
Go to start of metadata

It is possible share BDD step definitions across test suite via collectStepDefinitions().

For this the file of the BDD test cases must be edited, to add an argument to the existing collectStepDefinitions() call, of a BDD test case

In addition, the Object Map entries that are used in these steps must also be shared between the test suites: Sharing an Object Map across test suites

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Dec 28, 2018

    If you want all newly created BDD test cases to have this, you can edit the template that is used to create new files, and add your global scripts directory there.

    In Python, the template file is located under SQUISHDIR/scriptmodules/python/