Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sbt plugin that enables TeamCity to report test details

tag: 1.1

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore Updated for sbt 0.10
Octocat-spinner-32 build.sbt

Provides reporting of test success and failure for tests run by simple build tool in a format that TeamCity understands.

This uses the simple mechanism built into TeamCity to provide information about build progress, combined with the test listener mechanism in sbt.

To use,

  1. Work out what released version you want to use by looking at the tags list for this repository.

  2. Add the plugin to your sbt build, by creating project/plugins/project/plugins.scala that looks like:

    import sbt._
    object Plugins extends Build {
      lazy val plugins = Project("plugins", file("."))

    1 ) }

It will do nothing at all when not running under TeamCity, but when it is running under TeamCity (detected by the presence of the TEAMCITY_PROJECT_NAME environment variable) it will report success and failure of executed test.

Known Limitations

Sbt only reports that a test has been run when it completes. So this plugin has to tell TeamCity at that point that the test has both started and finished: this means TeamCity thinks that all your tests run really fast! Do not be misled...

Something went wrong with that request. Please try again.