2 ms·
In maven I don't like the test-separation from the code itself because its much simpler to find and update them this way.
by DelightOne 6y ago
In maven I don't like the test-separation from the code itself because its much simpler to find and update them this way.
- ryanianian 6y agoThere's a lot to not like about maven. I think that separation was motivated by java's classpath rather than making a 'good'/dev-friendly convention. After 10 years in maven-land, I changed a recent project to put `foo.ts` and `foo.test.ts` in the same directory and its wonderful, but it confuses some build-systems and makes certain kinds of test-helpers harder to write.
- shepherdjerred 6y agoMaven is my favorite thing about Java...
- advaita 6y agoAnecdotally, I like that separation because in absence of it working with any large-ish project (which most real life projects are), it'd get super hard for my brain to pick out tests even if they all had certain prefix/nomenclature. Caveat: I use IntelliJ and I just jump to tests using CMD+SHIFT+T shortcut so not necessarily a generic example.