Conversation
specs headlessly (shares the jasmine.yml config used by the official jasmine gem). To run it, just run: bundle exec jasmine-headless-webkit Goes great with guard, as well.
I replaced the boolean flag with a spy and set an expectation on the args.
Can now run jasmine tests as files are changed: `bundle exec guard`
script, using the jasmine-given DSL
|
other than the CS - which I just can seem to like, for whatever reason - i like the changes. i've known about the headless webkit and i use guard for a lot of other projects... just can't be bothered to set those up most of the time :P i wasn't aware of jasmine-given, though. definitely going to start using that. i'd been thinking about wanting something like that, but hadn't bothered to look in to it. |
|
Awesome! I'll try to keep an eye on your repo as I have time. Let me I also have jasmine-headless-webkit running on travis-ci on most of my check out an example .travis-yml: https://github.com/searls/jasmine-fixture/blob/master/.travis.yml On Feb 24, 2012, at 7:47, Derick Bailey
|
Just wanted to share a different take on this jasmine spec that came to mind when you graciously tweeted it.
A few aspects:
bundle exec guardand your specs will re-run on file change; when you change just a spec file, only that spec will run.I sure threw a bunch at you just to rewrite one lousy spec, but if you're interested, I'd happily help convert all of the existing specs over. :-)