https://pantsbuild.org/ logo
#general
Title
# general
m

mysterious-waiter-14207

06/27/2022, 11:17 AM
Hey, we would like to add support for another scala test framework (zio), should we do it separately as plugin or as part of pants?
h

hundreds-father-404

06/27/2022, 4:02 PM
Ohhh my passive understanding is Zio has tons of traction, so I think this could be really useful? Thoughts?
Maybe a target like
zio_tests
or
scala_zio_tests
? And probably a dedicated backend like
pants.backend.scala.test.zio
to activate it? We bias towards making things opt-in so that there is less noise, e.g.
./pants help targets
is less crowded
m

mysterious-waiter-14207

06/27/2022, 4:19 PM
cool, I'm working on something at the moment as plugin in our code base, will turn into plugin after. It is based on running the main function in the test file, without actually dependency on a runner. I'm using the scala parser to find the name of the main class.
👍 1
2 Views