Open jayvdb opened 7 years ago
If there isnt an existing re-usable approach, a new one should be added in a standard base class coala/coala#3676
Yes definitely in for standardizing test folders. It's actually not so complicated to find stuff, but it definitely helps and adds one definite way how to handle this. :+1:
For an approach:
I think we can orientate on many tests which have a load_testdata
-function, which loads a file relative to a directory located in the same directory as the test. So if somebody wants test files:
<TestFileName>
or <TestFileName>TestFiles
load_testdata
assigned per GSoC project "Improve Linter Bears"
The following bears, and maybe others, all have test data, and have a function to 'find' the test data relative to
__file__