2 ms·
Ah, right you are. Yeah, then packages really should not ship such directories. The practice of having tests inside the package being tested I remember as bein
by jononor 2y ago
Ah, right you are. Yeah, then packages really should not ship such directories.
The practice of having tests inside the package being tested I remember as being discouraged, because it makes it hard to run one version of tests against another of the package. Which I guess can be useful for regression testing, though I have not really used it.
An alternative layout that would preserve that be a mypackage_tests top-level.
- formerly_proven 2y agoThat's another good option, though I guess yodafying that (tests_mypackage) would have the added benefit that downstream consumers don't get mypackage_tests as an autocomplete suggestion.