Browse Source

Hopefully have this testing stuff sorted now :)

master
Drew Short 11 years ago
parent
commit
99845200c8
  1. 8
      pom.xml
  2. 5
      src/test/scala/com/sothr/imagetools/BaseTest.scala
  3. 9
      src/test/scala/com/sothr/imagetools/ScalaAppTest.scala

8
pom.xml

@ -97,16 +97,16 @@
</plugins>
</pluginManagement>
<plugins>
<!-- disable surefire -->
<!-- enable surefire for java tests-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7</version>
<configuration>
<skipTests>true</skipTests>
<skipTests>false</skipTests>
</configuration>
</plugin>
<!-- enable scalatest -->
<!-- enable scalatest for scala tests-->
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
@ -114,7 +114,7 @@
<configuration>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>com.sothr.imagetools.AppTest.txt</filereports>
<filereports>WDF TestSuite.txt</filereports>
</configuration>
<executions>
<execution>

5
src/test/scala/com/sothr/imagetools/BaseTest.scala

@ -0,0 +1,5 @@
package com.sothr.imagetools
import org.scalatest.{FunSuite,Matchers,OptionValues,Inside,Inspectors}
abstract class BaseTest extends FunSuite with Matchers with OptionValues with Inside with Inspectors

9
src/test/scala/com/sothr/imagetools/ScalaAppTest.scala

@ -0,0 +1,9 @@
package com.sothr.imagetools
class ScalaAppTest extends BaseTest {
test("I Do Nothing Just Make Sure The Framework Works") {
assert(true);
}
}
Loading…
Cancel
Save