Questions tagged [autotest]

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

272 questions
5
votes
2 answers

Zentest - How to stop automatic testing when red

I am trying to configure autotest so that when I run my test suite and I have a failing test, autotest stops testing and waits for me to make a change before testing again. With my current configuration autotest keeps testing indefinetly when it…
Chris Knadler
  • 2,819
  • 2
  • 26
  • 32
5
votes
1 answer

rspec stack trace on autotest

I'm just getting into autotest and i have the following problem. How do I get autotest to print stack traces on errors. If i run "rake spec" i get output 4) Transaction should get date with poor form Failure/Error: transaction =…
mlihp
  • 485
  • 4
  • 12
5
votes
2 answers

Autotest, Shoulda, Ruby - The Setup?

I am trying to get the whole setup working with Autotest/Growl/Shoulda on my Mac to test a gem I'm working on for Authlogic. I've used RSpec in the past quite a bit but would like to switch to Shoulda. This gem is going to work with Rails, but…
Lance
  • 75,200
  • 93
  • 289
  • 503
5
votes
2 answers

Excluding a folder from autotesting

I've just installed a ZenTest to use autotest in my project. I use rspec and have an integration folder inside it. As I don't want all my integration tests run every single time I start autospec , so I'd like to somehow restrict autospec from…
oldhomemovie
  • 14,621
  • 13
  • 64
  • 99
5
votes
1 answer

Imitating slow Redis server

I'm looking for a simplest way to imitate a slow Redis server (from the perspective of the client that I'm debugging now). Ideally it would be a DEBUG SLEEP command, but AFAIK there is no such thing. I could use, say, BLPOP for a blocking…
Alexander Gladysh
  • 39,865
  • 32
  • 103
  • 160
4
votes
1 answer

Unable to install autotest-fsevent gem with Xcode 4.3

I've been unable to install the autotest-fsevent gem after updating to Xcode 4.3 (removed old versions of Xcode). Command line tools were installed via Preferences > Downloads > Components tab. osx 10.7.3, rvm 1.10.2, ruby 1.9.3-rc1, bundler…
Doc Walker
  • 161
  • 1
  • 6
4
votes
3 answers

Autotests for Task.ContinueWIth logic

I'm trying to cover some logic with unit tests and have a problem with Task.ContinueWith method. The problem is that I have an important logic in the ContinueWith task. The ContinueWith task will be executed after the specified task, but there is no…
4
votes
2 answers

Xamarin automation tests ios. Failed to launch DeviceAgent ExitCode: 65

can't launch UI auto tests on my ipad. Error - Xamarin.UITest.XDB.Exceptions.DeviceAgentException : Failed to launch DeviceAgent ExitCode: 65 App is installed on device. DeviseAgent installed while trying to run any test. ios version of ipad…
MiddleD.
  • 315
  • 1
  • 4
  • 21
4
votes
1 answer

Calabash - iOS Simulator fails to select keyboard language

I’m novice at Calabash testing and faced an obstacle while trying to make a multi-language app. Here is my test scenario: - I select a textfield. - Enter a string with one language and then enter some text with another. And here occurs the…
4
votes
1 answer

Error at the end of a capybara autotest... every time

With autospec / cucumber / capybara running my feature tests I get this line even after going green: (eval):1:in `initialize': can't convert String into Integer (TypeError) Anyone know what this is? I thought it was me, then heard another dev was…
Dave Sanders
  • 3,135
  • 4
  • 33
  • 43
4
votes
1 answer

Error with autotest in ruby on rails

I ran the command autotest and this is the error I got . I am following Hartl's book and was wondering is this clash happening because rails now comes with ZenTest or something else ? How can I work past this error. I am new to RoR Invalid gemspec…
4
votes
0 answers

testthat::auto_test() seems to fail when S4 code is involved

Over the last couple of weeks, I've been integrating the unit-test functionality of the testthat package more and more into my daily work and really have to say: this package rocks! I specifically like the autotest-feature which will automatically…
Rappster
  • 12,762
  • 7
  • 71
  • 120
4
votes
2 answers

Sending autotest / guard desktop notifications from Vagrant Ubuntu VM to host (W7 and OS X)

I have a question for all you Vagrants and TDD'ers out there, How can I make a Vagrant Ubuntu VM send autotest / guard notifications to a Windows 7 or OS X host? Details: I'm trying to build my ultimate road-warrior development environment, so that…
timmy
  • 61
  • 1
  • 3
4
votes
1 answer

Use Capybara-webkit (instead of Selenium) when Cucumber is run through Autotest?

I normally use Selenium with Firefox when manually running my Cucumber tests. But when I have Autotest run, I'd like them to be run using Capybara-webkit because otherwise Firefox always jumps to the foreground, and this is very annoying. So how…
Joshua Muheim
  • 12,617
  • 9
  • 76
  • 152
4
votes
1 answer

RSpec and Autotest issue in rails 3 project

Im using autotest-notification v2.3.4 and rspec v2.0.1 for writing tests in my rails v3.2.3 project on my machine running Ubuntu 12.04.In my pages_controller_spec.rb i have the following code require 'spec_helper' describe PagesController do …
Kris
  • 1,403
  • 3
  • 17
  • 26
1
2
3
18 19