GithubHelp home page GithubHelp logo

isabella232 / sbt-teamcity-test-reporting-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from softwaremill/sbt-teamcity-test-reporting-plugin

0.0 0.0 0.0 57 KB

Sbt plugin that enables TeamCity to report test details

Scala 100.00%

sbt-teamcity-test-reporting-plugin's Introduction

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/project/plugins.scala that looks like:

     import sbt._
    
     object Plugins extends Build {
       lazy val plugins = Project("plugins", file("."))
         .dependsOn(
           uri("git://github.com/guardian/sbt-teamcity-test-reporting-plugin.git#1.2")
         )
     }
    

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...

sbt-teamcity-test-reporting-plugin's People

Contributors

kciesielski avatar kenlim avatar rtyley avatar tackley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.