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
#193 should be merged before this
now that we have the test data set up and the functions to download it in src/imgtools/datasets , we want to add fixtures to conftest.py that pytest will automaticallly make available for every other test job.
one thing we dont want to do is let all test functions mess with the same downloaded data, so lets use pytest-testdir to setup the pytest fixtures and make them available. this plugin will copy the data to temporary directories and thats what will be passed to the functions
this will help to make sure tests are accurately doing what we expect
if more than one test tries to autopipeline the same dataset with different parameters, we dont want it to assume things like 'imgtools.csv' already exists.
prevents race conditions to different files i.e imgtools_edges.csv for different parameters, which is preventing us from doing parallel testing
The text was updated successfully, but these errors were encountered:
#193 should be merged before this
now that we have the test data set up and the functions to download it in
src/imgtools/datasets
, we want to add fixtures toconftest.py
that pytest will automaticallly make available for every other test job.one thing we dont want to do is let all test functions mess with the same downloaded data, so lets use pytest-testdir to setup the pytest fixtures and make them available. this plugin will copy the data to temporary directories and thats what will be passed to the functions
this will help to make sure tests are accurately doing what we expect
imgtools_edges.csv
for different parameters, which is preventing us from doing parallel testingThe text was updated successfully, but these errors were encountered: