Questions tagged [autotest]

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

272 questions
0
votes
5 answers

have you and how do you do C++ autotest?

As far as autotest is concerned, how do you do autotest for C++ programs? are there any autotest framework that can be utilized to do unit test and integration test?
Brent81
  • 1,152
  • 1
  • 13
  • 19
0
votes
2 answers

Change database during play auto-test

I need to change database during test execution. I am first connected to the test database, but at some point I want to connect to another database (external one perhaps), and perform some other tests. Is this possible? If yes, how? EDIT: I forgot…
0
votes
1 answer

Does travis-ci.org support pm2?

I set up a nodejs auto test with travis-ci.org。I need to set up a server to support static files.I want to know if trvis-ci support pm2:) Or,is there any way to record a server`s pid。 like pm2 do: pm2 start app.js pm2 stop app.js
star
  • 1
  • 1
0
votes
3 answers

rspec, autotest and Rails 3 beta 2 can't find executable issue

I am running Rails 3 Beta2 and attempting to get Autotest working with rspec. When I run autospec, I receive the following message: /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:334:in `bin_path': can't find executable autospec for…
Toby Hede
  • 36,755
  • 28
  • 133
  • 162
0
votes
1 answer

How do I get autotest (ZenTest) to see my namespaced stuff?

Autotest is supposed to map my tests to a class, I believe. When I have class Foo and class FooTest, autotest should see FooTest and say, "Hey, this test corresponds to the unit Foo, so I'll look for changes there and re-run tests when changes…
Blaine Lafreniere
  • 3,451
  • 6
  • 33
  • 55
0
votes
1 answer

Autotesting a network interface

I'm developing a software component responsible for testing if a network interface has conectivity with the internet. Think of it as the same test the XBOX360 does to inform the user if it's connected with the Live network (just as an example). So…
Machado
  • 13
  • 2
0
votes
1 answer

Automated user testing with times

I am attempting to test user interaction with an off the shelf product. The current process is to run through a manual script and record how long certain processes take to populate data, it may populate a datagrid, a tree, a list box, etc... It…
Sean
  • 517
  • 4
  • 11
  • 34
0
votes
3 answers

Rails: Why isn't Guard waiting?

I am trying to use Guard instead of Autotest for RSpec, but I'm somewhat confused by its behavior. When I run bundle exec guard it just launches a pry window. I thought it is supposed to behave like Autotest where it just continues to run tests in…
Kvass
  • 8,294
  • 12
  • 65
  • 108
0
votes
2 answers

Cucumber + Rspec + Rails + Webrat, factor_girl + autotest on MacOSX ... in gem.config?

I found example how to use on: http://www.claytonlz.com/index.php/2009/04/how-to-setup-rspec-cucumber-webrat-rcov-and-autotest-on-leopard/ but I try to find solution to put this all gems to gem.config (enviroment.rb) with using gemcutter gem…
Andrzej Śliwa
  • 1,684
  • 2
  • 14
  • 17
0
votes
1 answer

No colors when using autospec

When I'm using autospec to test a non-Rails Ruby project, I always have trouble getting my tests to show up red or green. When I run a regular 'spec spec/ --color' command I get normal red/green responses. I've tried putting all sorts of commands in…
kfitzpatrick
  • 2,425
  • 4
  • 19
  • 11
0
votes
0 answers

autotest-growl not reporting any failures or errors

I have autotest set up and it's running fine and reporting errors correctly, but the growl notification always ignores any failures and errors, which makes it completely useless.. autotest…
0
votes
2 answers

"Bundler:GemNotFound" error in Autotest re: Thor

EDIT: I rolled back to Thor 0.17.0 and that seemed to work. Not sure why, but there it is. I can figure out what caused this, but my autotest stopped running tests and gave me the following error: "/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby"…
dax
  • 10,779
  • 8
  • 51
  • 86
0
votes
1 answer

autotest not using the right environment

When running Autotest, Autotest doesn't run in the "test" environment. How can I force it to run in "test"? I have tried RAILS_ENV=test bundle exec autotest and export RAILS_ENV=test; bundle exec autotest But still Rails.env equals…
Greg
  • 430
  • 1
  • 5
  • 17
0
votes
1 answer

Autotest is not loading in ruby on rails environment

I am having a problem with autotest. it doesn't seem to load as tutorial videos I have been seeing. this is what happens , it somewhat "freezes" and nothing is happening. As i speak : $ autotest -rails loading autotest/rails_rspec2 Also , when I…
seth
  • 23
  • 4
0
votes
1 answer

Could not find ZenTest-4.7.0 in any of the sources when running Autotest

When running autotest, I get the error Could not find ZenTest-4.7.0 in any of the sources. After viewing this article, I deleted gemfile.lock, ran 'bundle install', and then tried rerunning autotest. Now I get the error Could not find rake-10.0.3 in…
Jack R-G
  • 1,778
  • 2
  • 19
  • 25