Questions tagged [autotest]

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

272 questions
30
votes
11 answers

Why is Rspec saying "Failure/Error: Unable to find matching line from backtrace"?

I'm following the rails tutorial here: http://railstutorial.org/chapters/filling-in-the-layout#top When I run "rspec spec/", I get a bunch of errors that look like this: 1) LayoutLinks should have a Home page at '/' Failure/Error: Unable to find…
Chris
  • 39,719
  • 45
  • 189
  • 235
13
votes
2 answers

Compare Pros and Cons of Autofeature/autotest vs Guard?

Does anyone have any concrete reasoning for using one autotesting runner over another? I've used both Autofeature+autotest, I really like the built-in process that this sets up in that it runs my rspec unit tests first, and then the cucumber tests,…
Tonys
  • 3,349
  • 4
  • 24
  • 27
12
votes
6 answers

How do I troubleshoot autotest infinite loop problems?

I'm using cucumber, rails3, rspec2 and autotest. I'm trying to figure out why my features are infinitely looping. I suspect it some file being changed during the tests but I'm not sure which one. I've added some exceptions to my .autotest with no…
Dane O'Connor
  • 75,180
  • 37
  • 119
  • 173
11
votes
3 answers

How to combine autotest and spork in Rails testing?

Autotest increases the speed at which tests run by running only the changed tests. But I want to push it even further by using spork to preload the Rails environment, so that I will get even faster feedback. Is this possible? Autotest :…
user
  • 377
  • 4
  • 13
10
votes
5 answers

Is there something like ZenTest/Autotest for Java and JUnit

I've used ZenTest and autotest to work on Ruby projects before, and I used to using them for test-driven development a la this configuration. I have a project that I'm currently working on in Java, and I was wondering if there is something similar…
Nate Smith
  • 1,103
  • 1
  • 15
  • 19
9
votes
2 answers

What autotest tools exist for Clojure

I was wondering what autotest tools exists for clojure. In Ruby I have ZenTest, redgreeen etc to continuously keep on testing my code. I would like to have something similar for Clojure So far I have found this simple script…
zetafish
  • 2,342
  • 4
  • 18
  • 19
9
votes
6 answers

Command not found/Install missing gem binaries with 'bundle install' using autotest

I am totally new to RoR. I am following Michael Hartl's book. I am not able to make autotest run. Please suggest what's going wrong and a solution to fix it. When I run 'autotest' at command line inside Rails project directory i get…
aspire
  • 91
  • 1
  • 1
  • 2
8
votes
3 answers

autotest problem

I just installed Zentest 4.4.6 which includes autotest 4.4.6 and when I run autotest I get the following error: gems/ZenTest-4.6.0/lib/autotest.rb:226:in `autodiscover': undefined method `any?' for Gem::Specification:Class (NoMethodError) huh? it's…
Michael K Madison
  • 2,242
  • 3
  • 21
  • 35
8
votes
3 answers

autotest wont stop after a test fails?

Here is my gemfile source 'http://rubygems.org' gem 'rails', '3.0.9' gem 'mysql2', '~> 0.2.6' group :development do gem 'rspec-rails' end group :test do gem 'rspec' end Fairly straightforward and nothing unusual. On a passing test the…
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
7
votes
1 answer

How to set up autotest to rerun only failing rspec examples

My impression of how autotest is intended to work (based on the cucumber github wiki, and other stuff online) is that it should rerun red examples until they pass. My problem is that it reruns all examples in the spec file where a failing example is…
fakeleft
  • 2,830
  • 2
  • 30
  • 32
7
votes
2 answers

Platform specific gems for autotest with bundler

In the rails project I'm working on I inserted support for rspec, cucumber and autotest with this Gemfile (partial) gem 'rspec-rails' gem 'cucumber-rails' gem 'autotest-standalone' gem 'autotest-rails-pure' gem 'zentest-without-autotest' however in…
Fabio
  • 18,856
  • 9
  • 82
  • 114
7
votes
4 answers

autotest shows blank

I installed the autotest gem and intend to use it with rspec. The problem is, when I run autotest under my rails app, all I see is : railsapp$ autospec loading autotest/rails_rspec And its stuck there until I Ctrl-C out of it. Nothing changes…
udit
  • 2,745
  • 3
  • 33
  • 44
6
votes
1 answer

How to emulate step counter sensor in the Android devices?

I want to emulate user's walking and count their steps for auto testing. I tried to search for the solution, but only found simulate the location.
alwaysday1
  • 1,683
  • 5
  • 20
  • 36
6
votes
3 answers

Is there an implementation of something like autotest-fsevent for windows?

Basically it's an extension for autotest that listens for notification from OS and allows autotest not to scan for file changes permanently while testing only necessary changes. It saves CPU and disk use.
Alexey
  • 9,197
  • 5
  • 64
  • 76
6
votes
0 answers

Scipy autotest finished with one error

Under Ubuntu 14.04 I installed python 2.76. then scipy as shown here, namely through sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose The python -c "import numpy;…
lmsasu
  • 7,459
  • 18
  • 79
  • 113
1
2 3
18 19