Skip to content

Commit

Permalink
all tests now run with mvn test
Browse files Browse the repository at this point in the history
  • Loading branch information
Debasish Ghosh committed Feb 16, 2010
1 parent 0b08cb7 commit 2a456f9
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pom.xml
Expand Up @@ -111,7 +111,14 @@
<classpathScope>test</classpathScope>
</configuration>
</plugin>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Spec.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions src/test/scala/scouch/db/SCouchDbSpec.scala
Expand Up @@ -3,6 +3,8 @@ package scouch.db
import org.scalatest.Spec
import org.scalatest.BeforeAndAfter
import org.scalatest.matchers.ShouldMatchers
import org.scalatest.junit.JUnitRunner
import org.junit.runner.RunWith

import dispatch._
import dispatch.json._
Expand All @@ -11,6 +13,7 @@ import dispatch.json.JsHttp._
import Options._
import BulkDocument._

@RunWith(classOf[JUnitRunner])
class SCouchDbSpec extends Spec with ShouldMatchers with BeforeAndAfter {


Expand Down
4 changes: 4 additions & 0 deletions src/test/scala/scouch/db/ScalaValidationSpec.scala
Expand Up @@ -3,6 +3,8 @@ package scouch.db
import org.scalatest.Spec
import org.scalatest.BeforeAndAfter
import org.scalatest.matchers.ShouldMatchers
import org.scalatest.junit.JUnitRunner
import org.junit.runner.RunWith

import dispatch._
import dispatch.json._
Expand All @@ -11,6 +13,8 @@ import sjson.json._
import Options._

import scouch.db.TestBeans._

@RunWith(classOf[JUnitRunner])
class ScalaValidationSpec extends Spec with ShouldMatchers with BeforeAndAfter {

val http = new Http
Expand Down
3 changes: 3 additions & 0 deletions src/test/scala/scouch/db/ScalaViewServerSpec.scala
Expand Up @@ -3,13 +3,16 @@ package scouch.db
import org.scalatest.Spec
import org.scalatest.BeforeAndAfter
import org.scalatest.matchers.ShouldMatchers
import org.scalatest.junit.JUnitRunner
import org.junit.runner.RunWith

import dispatch._
import dispatch.json._
import dispatch.json.JsHttp._
import sjson.json._
import Options._

@RunWith(classOf[JUnitRunner])
class ScalaViewServerSpec extends Spec with ShouldMatchers with BeforeAndAfter {

val http = new Http
Expand Down
3 changes: 3 additions & 0 deletions src/test/scala/scouch/db/ViewServerWithObjectsSpec.scala
Expand Up @@ -3,6 +3,8 @@ package scouch.db
import org.scalatest.Spec
import org.scalatest.BeforeAndAfter
import org.scalatest.matchers.ShouldMatchers
import org.scalatest.junit.JUnitRunner
import org.junit.runner.RunWith

import dispatch._
import dispatch.json._
Expand All @@ -12,6 +14,7 @@ import Options._

import TestBeans._

@RunWith(classOf[JUnitRunner])
class ViewServerWithObjectsSpec extends Spec with ShouldMatchers with BeforeAndAfter {

val http = new Http
Expand Down

0 comments on commit 2a456f9

Please sign in to comment.