Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (19 sloc) 1.272 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
An implementation of sbt's test interface <http://github.com/harrah/test-interface> for JUnit 4.

Unlike Scala testing frameworks like ScalaTest (which can also run JUnit test cases), both JUnit
and this adapter are pure Java, so you can run JUnit tests with any Scala version supported by
sbt without having to build a binary-compatible test framework first.

See LICENSE.txt for licensing conditions (BSD-style).

To use with xsbt 0.7.x, add the following dependency to your project:

    val bryanjswift = "Bryan J Swift Repository" at "http://repos.bryanjswift.com/maven2/"
    val junitInterface = "com.novocode" % "junit-interface" % "0.4.0" % test

Or you can get it directly from Github:

    val junitInterface = "com.novocode" %% "junit-interface" % "0.4.0" from "http://github.com/downloads/bryanjswift/junit-interface/junit-interface-0.4.0.jar"

== Publishing ==

In order to publish the jar somewhere you can either update the project file to override the
publishTo property or add a resolver file (.resolver by default, configurable with the property
'resolver.path'). The resolver file is of the form:

    resolver.name=Example Resolver
    resolver.host=example.com
    resolver.port=22
    resolver.path=/path/to/publish/into/
    resolver.type=sftp|ssh
Something went wrong with that request. Please try again.