<@U051221NF>, <@U04S45AHA>, <@U0N6C2Q9F>: thoughts...
# development
w
@happy-kitchen-89482, @enough-analyst-54434, @fast-nail-55400: thoughts on which convention to use for
src
vs
test
in a new JVM example repository? tests in the same directory as sources, or in a separate
tests
tree?
e
Since we support both maybe meet people where they're at if there is some obvious winner out in the real world?
1
w
oh yea: we support both. just don’t want to bother demonstrating both in the repo. just more noise than is necessary
e
Yes, thus meet them where they are at.
It - almost by definition - has to be seperate dirs.
That convention goes waaaay back.
w
it doesn’t need to be, since classpaths are isolated. but totally fine to stick with separate directories: i think that’s fairly consistent in all JVM tools.
e
Ack - I totally get it doesn't need to be. Again, the only thing I was espousing was a principle. Meet them where they're at. If 90% are at that old convention - and the principle is agreed uopn - then there is happily no choice.
👍 2
w
k
f
and to add to John’s point, meeting users where they are at currently helps to reduce confusion and provides something familiar to users coming to Pants.
h
Yep
I love having tests in the directory of the code they test, but no need to add confusion
We want people to adopt, so as John says, meeting them where they're at is key
w
ok. i do plan on using some of the “familiarity budget” that that frees up to put all JVM languages under a single
{src,test}/jvm
sourceroot though.