I'd like to split my integration tests into multiple files (because it's getting long). This can be easily done:
/tests/
/data/ // <- dataset for testing
a_tests.rs // <- this contains "common" functions which I'd like to use in b_tests.rs
b_tests.rs
However, a_tests.rs contains some functions which I'd like to use in b_tests.rs. For example a common Lazy once_cell which reads the data file only once. And also a fn common_func(_) which does assertion based on numerical comparisons of the results.
So how do I import objects from a_tests.rs in b_tests.rs?