Relative Content

Tag Archive for cucumberpython-behave

Cucumber / behave idiom for doing a lengthy task once?

I’m using Cucumber / behave to test BLE connectivity with a device. One step — establishing the connection — is a lengthy task, taking several seconds. Once I have the connection, I’d like to run a bunch of other tests (checking security, establishing a session, etc).

Chaining async tests in Cucumber

I’d like to write a series of Cucumber tests to verify connecting and provisioning a BLE device. Each step is inherently asynchronous (discovery, connection, verification of characteristics, etc), and each depends successful completion of the previous step.