upkeep: don't depend on r2dii.data
for unit tests
#392
Labels
upkeep
maintenance, infrastructure, and similar
r2dii.data
for unit tests
#392
Context: I am exploring the effects of ADO #4226 "Changing all mentions of
ald
toabcd
". One crucial change there is that the datasetr2dii.data::ald_demo
will be renamed tor2dii.data::abcd_demo
.In this exploration phase, I am trying a "brute force" approach on a safe branch, just to see what happens"if i remove all
ald
references. One result is that many tests inr2dii.match
fail. This is because many tests depend directly onr2dii.data
datasets.r2dii.data
- contains demonstration datasets that can be used to demo tools and teach users how to run PACTA usingr2dii
r2dii.match
- currently has many test files that importr2dii.data
directly, and are brittle if changes are made to ther2dii.data
package.Compare for example to
r2dii.analysis
where we removed this dependency directly, making all tests self-contained.I think we should try to do something similar with
r2dii.match
, making use instead of thefake_*()
helper functions.AB#10182
The text was updated successfully, but these errors were encountered: