0

In the examples of a scenario outline using the pytest-bdd framework, I specify that a result of a test is an exception.

Here is a part of my code:

Scenario Outile:
Given ...
When ...
Then ...

Examples
|input                     | output                             |
|non_existing_file_name    | an exception: file does not exsist.|

I want to be able to specify exceptions as a parameter.

Gino Mempin
  • 25,369
  • 29
  • 96
  • 135
Mounir
  • 15
  • 6

0 Answers0