ProjectSetup
class in io.mutastic.api
class ProjectSetupThe setup file a build tool’s own code writes from inside the build (Gradle’s init script, Maven’s extension): a properties file with what the module’s tests run with. One format, so every build tool reads it the same way.
Keys: java, jvmArgs (one per line), workingDirectory, and path lists joined with the
platform’s separator: classes, resources, testClasses, testResources, sources,
testSources, dependencies (the test runtime classpath without the module’s own directories).
outputs: what another module’s classpath has of this one. Which tests run: testIncludes and
testExcludes (one class-file pattern per line, see TestSelection), includeTags and
excludeTags (one per line). environment: one NAME=value per line. Keys a build doesn’t set
are empty.
Methods
read
static Project read(String name, Path file)The project in file, named name in reports.