You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the changes to the directory structure applied in kedro-org/kedro#3731 now merged, @ankatiyar proposed updating the structure of folders created by the Kedro starters to match them.
Context
The current structure has the pipeline tests created by starters placed in <project root>/tests/pipelines, while the tests created from the kedro pipeline create command go into <project root>/tests/pipelines/<pipeline name>. What is being proposed is to put the pipeline tests from starters into their own directory as well.
For example:
In the image above, we can see test_data_science.py that was created by using the spaceflights-pandas starter and is located directly in the tests directory. The test file for my_pipeline, which was created with kedro pipeline create, is on it's own directory.
Possible Implementation
The initial idea would be putting the pipeline tests generated from starters on their own directory. In the aforementioned example, the structure would change from <project root>/tests/pipelines/test_data_science.py to <project root>/tests/pipelines/data_science/test_pipeline.py.
The text was updated successfully, but these errors were encountered:
Description
With the changes to the directory structure applied in kedro-org/kedro#3731 now merged, @ankatiyar proposed updating the structure of folders created by the Kedro starters to match them.
Context
The current structure has the pipeline tests created by starters placed in
<project root>/tests/pipelines
, while the tests created from thekedro pipeline create
command go into<project root>/tests/pipelines/<pipeline name>
. What is being proposed is to put the pipeline tests from starters into their own directory as well.For example:
In the image above, we can see
test_data_science.py
that was created by using thespaceflights-pandas
starter and is located directly in thetests
directory. The test file formy_pipeline
, which was created withkedro pipeline create
, is on it's own directory.Possible Implementation
The initial idea would be putting the pipeline tests generated from starters on their own directory. In the aforementioned example, the structure would change from
<project root>/tests/pipelines/test_data_science.py
to<project root>/tests/pipelines/data_science/test_pipeline.py
.The text was updated successfully, but these errors were encountered: