Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tommorris/sbt-growltest
Growl autotesting for Scala with Specs
https://github.com/tommorris/sbt-growltest
Last synced: 19 days ago
JSON representation
Growl autotesting for Scala with Specs
- Host: GitHub
- URL: https://github.com/tommorris/sbt-growltest
- Owner: tommorris
- Created: 2010-03-20T10:15:51.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2010-06-12T07:40:34.000Z (over 14 years ago)
- Last Synced: 2023-04-10T08:23:10.823Z (over 1 year ago)
- Homepage:
- Size: 182 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
sbt-growltest: Growl autotesting for Scala with Specs
,____________
| IMPORTANT! \
|-----------------------------------------------.
| |
| This project has been superseded by a proper |
| sbt plugin! Go check it out at: |
| |
| http://github.com/softprops/sbt-growl-plugin/ |
| |
+-----------------------------------------------+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 please.sbt-growltest is a Ruby script which invokes `sbt "~ test"` and monitors the
output. It offers three types of Growl notification - either "Tests pass",
"Compilation failed; tests didn't run" or "Tests fail".I've included the Java mascot 'Duke' with a red nose for when tests/compile
fail and with a photoshopped green nose for when tests pass!- you need to make sure you have Ruby (1.8 or 1.9 - shouldn't matter)
- you may need to modify the script to point to images wherever you put themIf you use Linux, do check out sbt-notifytest which does the same thing but
with GNOME libnotify: http://github.com/tommorris/sbt-notifytest