mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-09 00:59:08 +00:00

* Rework Pipeline.run() tests * Remove test_linear_pipeline.py * Add test for components execution order * Add new pytest-bdd tests dependency * Update README.md * Add function to dinamically add integration marker * Fix marking tests as integration
22 lines
597 B
Gherkin
22 lines
597 B
Gherkin
Feature: Pipeline running
|
|
|
|
Scenario Outline: Running a correct Pipeline
|
|
Given a pipeline <kind>
|
|
When I run the Pipeline
|
|
Then it should return the expected result
|
|
And components ran in the expected order
|
|
|
|
Examples:
|
|
| kind |
|
|
| that has no components |
|
|
| that is linear |
|
|
|
|
Scenario Outline: Running a bad Pipeline
|
|
Given a pipeline <kind>
|
|
When I run the Pipeline
|
|
Then it must have raised <exception>
|
|
|
|
Examples:
|
|
| kind | exception |
|
|
| that has an infinite loop | PipelineMaxLoops |
|