Now that we have very simple and easy ways to generate data tables from source data files, it's better to replace almost all direct reads for files under /data/ from /unic/**/tests/**/*.rs with conversion of test data into test data tables (under <component>/tests/tables/, in an RSV format), and using the test data tables for running the tests.
This will allow us to package more (integration) tests, which is a good practice because of the cargo packages being the source for distro packages.
For some test data sources, the complicated format of the test file may actually make it less useful to apply this pattern. So, we should only do this when it's not too much overhead.
Now that we have very simple and easy ways to generate data tables from source data files, it's better to replace almost all direct reads for files under
/data/
from/unic/**/tests/**/*.rs
with conversion of test data into test data tables (under<component>/tests/tables/
, in an RSV format), and using the test data tables for running the tests.This will allow us to package more (integration) tests, which is a good practice because of the cargo packages being the source for distro packages.
For some test data sources, the complicated format of the test file may actually make it less useful to apply this pattern. So, we should only do this when it's not too much overhead.