Open benogle opened 13 years ago
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Ben Ogle reply@reply.github.com wrote:
in the guard file:
guard 'jasmine-headless-webkit', :full_run => false, :all_on_start => false do watch('spec/javascripts/support/jasmine.yml') { |m| "spec/javascripts" } watch(%r{^app/assets/javascripts/(.*).(js|coffee)$}) do |m|
if Dir["public/assets/editor-_.js"].any? specific_file = newest_js_file("spec/javascripts/#{m[1]}") all_tests = "spec/javascripts" specific_file or alltests end end watch(%r{^spec/javascripts/..(js|coffee)$}) end
Output when I save a file:
F.....F..... FAIL: 12 tests, 2 failures, 0.178 secs.
Color picker pane fails. (/mytest.coffee:12) Expected '2' to equal 3. (line ~13) expect('2').toEqual(3);
Color picker pane fails. (/mytest.coffee:12) Expected '2' to equal 3. (line ~13) expect('2').toEqual(3);
When it runs all tests, it does not run them twice.
Reply to this email directly or view it on GitHub: https://github.com/johnbintz/guard-jasmine-headless-webkit/issues/14
in the guard file:
Output when I save a file:
When it runs all tests, it does not run them twice.