0.0
No commit activity in last 3 years
No release in over 3 years
ShoulderTap receives TAP-compliant (http://testanything.org/) output via STDIN and will display pop-up notifications once the test is complete
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0

Runtime

>= 0
 Project Readme

ShoulderTap gives desktop notifications from the output of TAP (Test Anything Protocol)

Example

Using Bats as a TAP Producer, we pipe its output into ShoulderTap

bats test.bats | shouldertap

And for failing tests:

bats failing.bats | shouldertap

ShoulderTap also supports changing the name of the notification with the -n switch

bats tests.bats | shouldertap -n 'My Project'

There are a bunch of other producers available at the Test Anything website

Advanced Usage

With some simple shell scripting, we can run tests every time we save changes to our code. Here we are using Bacon as our test harness.

while true; do
  find . | xargs -- inotifywait --event modify
  bacon --tap tests/* | shouldertap
done

Installation

gem install shouldertap 

Contributing

Please fork and issue a pull request.

License

Copyright (c) 2014 Ryan Doyle

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see www.gnu.org/licenses.