Reputation: 19
I want to turn off the bluetooth at the end of testcase even if any intermidiate step in testcase get failed, it should turn off the bluetooth (i.e. achieve it as teardown step).
How to achieve teardown in Opentest?
Upvotes: 1
Views: 85
Reputation: 94
Create a macro
for your teardown process and run it as the last step of every test. For every step prior to this macro call, you will have to include the checkpoint: true
keyword.
Upvotes: 0