<argLine>-Dspecs2.all=true</argLine>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
-Dspecs2.all -XX:-UseSplitVerifier -Xmx1024m -XX:MaxPermSize=256m -javaagent:${settings.localRepository}/org/powermock/powermock-module-javaagent/${org.powermock.version}/powermock-module-javaagent-${org.powermock.version}.jar
</argLine>
<useSystemClassloader>true</useSystemClassloader>
<threadCount>10</threadCount>
<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>
<include>**/*Spec.java</include>
</includes>
</configuration>
</plugin>
@RunWith( classOf[JUnitRunner] )
class SparkSuiteSpec extends Specification {
var sc: SparkContext = _
def is = args( asap = true ) ^ s2"""
These are all the specifications that require Spark
${ "SchemaUtilities child" ~ new SchemaUtilitiesSpec( sc ) }
"""
}
class SchemaUtilitiesSpec( sc: SparkContext ) extends Specification with IsolatedMockFactory with Checkers {
"Spark SchemaUtilities" should {
"..." in {
ok
}
}
}