3 ms·
Yes, this makes more sense, you have tests close to the code it test. Even integration tests should be somewhere in that hierarchy. At the time I was even thin
by desireco42 2y ago
Yes, this makes more sense, you have tests close to the code it test. Even integration tests should be somewhere in that hierarchy.
At the time I was even thinking that tests should be part of the same file where the component or feature is implemented. There were ways to make this work, but it required a lot of configuration at the time.
- jackblemming 2y agoI don’t like seeing test files close to the code. It’s clutter and distracting. Some people do and that’s fair, but there’s no one way.
- floydnoel 2y agowhen i was working on java microservices a few years back at a major cruise line, the tests were of course in a completely separate folder structure. it would take ages to traverse the file tree. isn't that a major waste of time and really poor devex?
- jackblemming 2y agoYour IDE should handle this kind of drudgery for you. The tests folder layout needn't be complex and deep either.
- floydnoel 2y agowhat about those of us who still prefer to use terminals, not just point and click GUIs? relying on ever-more tooling feels too much like putting a band-aid over the problem to me.