test: run tests with different link types #1887
Labels
p3-nice-to-have
It should be done this or next sprint
testing
Related to the tests and the testing infrastructure
Currently our tests for different cache types usually deal with some specific use case, and assert intended behaviour for particular cache types.
E.g.
dvc/tests/test_checkout.py
Line 522 in f20818c
checks behavior only for "symlink" cache type.
We should consider writing consistent tests that would check appropriate behavior for each cache type. Parametrization might be a way to deal with that, but sometimes it will not be enough. (E.g. corrupting cache in hardlink and copy cache type would look differently, therefore it requires separate tests or some if's for cache type)
The text was updated successfully, but these errors were encountered: