witty-family-13337
01/06/2022, 11:09 AMTest / javaOptions := List(…)
as we have some tests that require some specific JVM arguments (i.e. allowing reflective access to some Java 11 packages) in order to pass. The [scalatest].args
section in pants.toml
seems to be only for passing arguments to ScalaTest, not to the underlying JVM
2. We have some tests that need to load some files when running and they try to access them via the classpath but using a resource
target as a dependency in the scalatest_tests
target seems to be unsupported. Pants complains that the resource
target should have a resolve
or compatible_resolves
field, but that field is also unsupported in the resource
target. Is there a workaround for this that you may be aware or does it need to be implemented in a future release?hundreds-father-404
01/06/2022, 4:31 PMwitty-family-13337
01/06/2022, 5:24 PMbusy-vase-39202
01/06/2022, 5:28 PMwitty-family-13337
01/06/2022, 5:37 PMwitty-crayon-22786
01/06/2022, 5:58 PMresource
change! that’s a glaring omissionwitty-crayon-22786
01/06/2022, 5:59 PMwitty-crayon-22786
01/06/2022, 6:00 PM2.9.x
witty-crayon-22786
01/06/2022, 6:00 PMwitty-crayon-22786
01/06/2022, 6:14 PMwitty-family-13337
01/06/2022, 6:56 PMwitty-family-13337
01/06/2022, 6:57 PMwitty-family-13337
01/06/2022, 6:58 PMwitty-family-13337
01/06/2022, 6:58 PMwitty-crayon-22786
01/06/2022, 6:58 PMwitty-family-13337
01/06/2022, 7:00 PMwitty-family-13337
01/06/2022, 7:00 PMwitty-crayon-22786
01/07/2022, 5:19 AM