When doing Spark tests in my own code it would be nice to use the same test environment setup that GeoTrellis uses for Spark, as defined by geotrellis.spark.TestEnvironment. There are at least two ways to do this:
- Publish the
"org.locationtech.geotrellis" %% "geotrellis-spark" % "1.0.0" % "test" artifact as a part of the standard release process. This should be as easy as adding publishArtifact in (Test, packageBin) := true to the sub-project.
- Refactor
geotrellis.spark.TestEnvironment so that it can live in geotrellis-spark-testkit, which does get published (I think).
When doing Spark tests in my own code it would be nice to use the same test environment setup that GeoTrellis uses for Spark, as defined by
geotrellis.spark.TestEnvironment. There are at least two ways to do this:"org.locationtech.geotrellis" %% "geotrellis-spark" % "1.0.0" % "test"artifact as a part of the standard release process. This should be as easy as addingpublishArtifact in (Test, packageBin) := trueto the sub-project.geotrellis.spark.TestEnvironmentso that it can live ingeotrellis-spark-testkit, which does get published (I think).