Questions tagged [autotest]

Autotest is a Ruby gem for running tests automatically when source files change.

272 questions
2
votes
0 answers

Hotkeys for Ruby Autotest

It would be nice to have some more control over autotest besides Ctrl+C, which reruns all specs. When using autotest within my Rails 3 project I often find myself waiting for some specs to finish, as autotest is always rerunning all specs in any…
2
votes
3 answers

Autotest: APP: Could Not Run Tests

I've got a problem with autotest. It seems to drop in and out which is strange. It was working fine then started to shoot a growl message APP: Could Not Run Tests. I had to mess around for a while to get autotest to work but it just seems really…
Ads
  • 287
  • 1
  • 3
  • 5
2
votes
2 answers

How can I get autotest to keep running my specs after failures without stopping?

This seems like a very bizarre problem and believe me I've done a lot of searching before posing the question here. I am using the latest version of Rails 3 and Rspec 2 with Ruby 1.9.2, and I can't get autotest to run my specs properly when they…
subelsky
  • 405
  • 6
  • 12
2
votes
1 answer

Why does autotest sometimes re-run all specs immediately after a failure?

Sometimes after autotest runs specs and encounters an failure, it will immediately re-run all the specs in the project, which (a) I have no need for and (b) clears the terminal so I can't read the results of the failed spec. Why is this happening?
John Bachir
  • 22,495
  • 29
  • 154
  • 227
2
votes
5 answers

ruby on rails tutorial TDD "Email has already been taken"

I have been going through Michael Hartl's tutorial http://railstutorial.org/ and for the most part it has been a huge help in getting started with Rails. The book is very focused on TDD, which is great because I wanted to learn TDD, but the problem…
Adam
  • 41
  • 5
2
votes
1 answer

Autotest: "Could not run tests". But nothing in the log

Autotest broke with rspec-rails 2.2.1 update. Now I can't get it working again.. .even after rolling back to rspec-rais 2.2.0. Only info I'm able to find is a Growl popup saying "App: Could not run tests". Nothing is being written to…
Meltemi
  • 37,979
  • 50
  • 195
  • 293
2
votes
0 answers

Could not find a connected Android device after a while using Emulator

When I am using Emulator of Android for Appium automation test, it works at the first time, but after a while(15mins or later), when executing my test again, there's error returns from Appium server: at [object Object]. (D:\Program…
francesLF
  • 21
  • 1
2
votes
1 answer

Second selenium test is started before first one is completed

I have two Selenium tests to run one after another. I have waiters injected into tests which wait for elements to become visible before interaction with them. The issue is that sometimes second test is starting during waiting for the element to load…
vitali_li
  • 101
  • 1
  • 2
  • 13
2
votes
2 answers

Error running autotest on Windows 7 with Rails 3, Ruby 1.9.2

Installing and running Rails 3 and Ruby 1.9.2 on Windows 7 went rather smooth. It's only now that I want to run autotest that I'm running into problems. The error looks frustratingly simple, but I can't figure out how to solve it. I have the…
Pascal Lindelauf
  • 4,782
  • 4
  • 40
  • 55
2
votes
1 answer

Rails 3 - How do I get Rspec spec/ & autotest to work?

I was all setup with Rspec and Autotest before I updated to Rails 3. When running rspec spec/ I'm getting: * spec/spec.opts is deprecated. * please use ./.rspec or ~/.rspec instead. I tried changed spec.opts to spec.rspec and running rspec spec/…
teecraft
  • 927
  • 2
  • 9
  • 10
2
votes
1 answer

Protractor. DragAndDrop doesn't work

DragAndDrop doesn't work for me. I try to move item of list and it moves a little bit, but still at the same place. When I move element a new item of list is creates, look at the image. Have you any ideas? Here is my code: var dragElement =…
ayashpatrov
  • 43
  • 1
  • 7
2
votes
1 answer

Autotest stalls when launched

I'm trying to get a Rails (version 2.3.5) app set up to run RSpec and Autotest. I've got both rspec (1.2.9) and rspec-rails (1.2.9) vendored as plugins in the app. I then have ZenTest 4.4.0, Autotest (4.3.2) and Autotest Rails (4.1.0) gems…
Shpigford
  • 24,748
  • 58
  • 163
  • 252
2
votes
1 answer

Behat 3: How to get profile name inside FeatureContext

I am starting behat with ./bin/behat --suite=SuiteName --profile=profile_name Is it possible to get current behat profile name inside FeatureContext especially inside BeforeSuiteScope /** * @BeforeSuite */ public static function…
Igor Lantushenko
  • 1,771
  • 10
  • 19
2
votes
4 answers

Passing options in autospec with Cucumber in Ruby on Rails Development

I always run autospec to run features and RSpec at the same time, but running all the features is often time-consuming on my local computer. I would run every feature before committing code. I would like to pass the argument in autospec command.…
TK.
  • 27,073
  • 20
  • 64
  • 72
2
votes
1 answer

rake test finding tests. autotest not finding them

$ rake test $ rake test (in /Users/ethan/project/mtc/completestreets) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib:test" "/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" …
Ethan
  • 57,819
  • 63
  • 187
  • 237