Silvano Cerza
3c8569e12c
fix: Fix running Pipeline
with conditional branch and Component with default inputs ( #7799 )
...
* Fix running Pipeline with conditional branch and Component with default inputs
* Add release notes
* Change arg name of _init_to_run so it's clearer
* Enhance release note
2024-06-06 13:19:07 +00:00
Silvano Cerza
74df8ed937
test: Rework Pipeline.run()
tests to ease declaration with dataclasses ( #7790 )
...
* Rework boilerplate function that run Pipeline in scenarios testing
* Update tests to use new dataclasses
* Update README.md to reflect dataclass changes
* Use absolute import from conftest
2024-06-03 15:59:42 +02:00
Silvano Cerza
07ae45e0c2
test: Migrate Pipeline.run()
tests with run arguments ( #7777 )
...
* Support Pipeline.run() arguments in tests
* Move intermediate outputs
2024-06-03 12:36:04 +02:00
Silvano Cerza
d81af81fbb
test: Migrate pipeline run tests ( #7775 )
...
* Move complex pipeline
* Move pipeline with default
* Move pipeline with distinct loops
* Move pipeline with double loop
* Move pipeline with dynamic inputs
* Move fixed decision pipeline
* Move fixed merging pipeline
* Move fixed decision and merge pipeline
* Remove test_joiners.py
* Move looping and merge pipeline
* Remove test_looping.py
* Move mutable input pipeline
* Move parallel branches pipeline
* Move same input different components pipeline
* Move test_run_with_greedy_variadic_after_component_with_default_input_simple
* Remove test_run_raises_if_max_visits_reached
* Move test_run_with_component_that_does_not_return_dict
* Move test_correct_execution_order_of_components_with_only_defaults
* Move test_pipeline_is_not_stuck_with_components_with_only_defaults
* Move test_pipeline_is_not_stuck_with_components_with_only_defaults_as_first_components
* Move self loop pipeline
* Move variable decision and merge pipeline
* Remove test_variable_decision_pipeline
* Move variable merging pipeline
* Add FakeComponent removed by mistake
2024-05-31 13:00:29 +02:00
Silvano Cerza
3dcc21fd73
test: Pipeline run tests rework ( #7748 )
...
* 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
2024-05-28 15:42:47 +02:00