Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommorris/sbt-notifytest
libnotify autotesting for Scala with Specs
https://github.com/tommorris/sbt-notifytest
Last synced: 19 days ago
JSON representation
libnotify autotesting for Scala with Specs
- Host: GitHub
- URL: https://github.com/tommorris/sbt-notifytest
- Owner: tommorris
- Created: 2010-03-27T23:12:11.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-03-27T23:26:16.000Z (over 14 years ago)
- Last Synced: 2023-04-10T08:23:10.922Z (over 1 year ago)
- Homepage:
- Size: 180 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
sbt-notifytest: libnotify autotesting for Scala with Specs
I'm using Scala with simple-build-tool and Specs. In Ruby, there is a tool
called ZenTest autotest which does what sbt ~ test does (i.e. runs a test loop
every time you save a file). It has one main advantage which is that it can use
Growl (the OS X notification library) to tell you whether your tests have
passed or failed. This is the only way I find that I can do TDD - having to
alt-tab all day and inspect the output isn't fun. And IDEs are just... no way.
Vim or TextMate^WSciTE please.sbt-notifytest is a Python script which invokes `sbt "~ test"` and monitors the
output. It offers three types of libnotify notification - either "Tests pass",
"Compilation failed; tests didn't run" or "Tests fail". Unlike the Growl
version, we use the standard GNOME icons for errors and information. They are a
bit dull, but they work.Dependencies: Python 2.4+, libnotify, pynotify
The original is sbt-growltest which uses OS X's Growl:
http://github.com/tommorris/sbt-growltest