X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fsbt-tap;a=blobdiff_plain;f=readme.md;fp=readme.md;h=8d68423c9e3dd6f2398c94fc5b0dc0b293fa77b0;hp=0000000000000000000000000000000000000000;hb=f8afbaf50121388791e5eb39cf70aa7971dce177;hpb=bab449453ab07b390c9846dfa0351df9ec202f60 diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..8d68423 --- /dev/null +++ b/readme.md @@ -0,0 +1,21 @@ +Provides reporting of test success and failure for tests run by +[simple build tool](https://github.com/harrah/xsbt) +in a [TAP](http://en.wikipedia.org/wiki/Test_Anything_Protocol)format + +All the test results will be generated in one file: test-results/test.tap + +To use + +1. Add this plugin to your sbt project. Create project/project/Plugins.scala that looks like this: + + import sbt._ + // sets up other project dependencies when building our root project + object Plugins extends Build { + lazy val root = Project("root", file(".")) dependsOn(tapListener) + lazy val tapListener = RootProject(uri("git://github.com/mkhettry/sbt-tap.git")) + } + +2. In your build.sbt, add the SbtTapListener to the sequence of Test Listeners. + + testListeners += SbtTapReporting.tapListener +