Questions tagged [zentest]

is a Ruby Unit testing utility.

41 questions
2
votes
1 answer

Invalid gemspec error in ZenTest. Invalid requirements

After installing some testing tools, I keep getting an Invalid gemspec error anytime I type a command. The following error: Invalid gemspec in [/var/lib/gems/1.9.1/specifications/ZenTest-4.10.1.gemspec]: Illformed requirement ["< 3.0, >= 1.8"] I…
Chris Howard
  • 111
  • 1
  • 4
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
2
votes
1 answer

ZenTest 4.9.3 shows as invalid gemspec

I keep getting this error when trying to run ZenTest Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. I have tried removing the ZenTest 4.9.3 and gem instal…
1
vote
1 answer

Could not find ZenTest-4.6.0 in any of the sources

I get Could not find ZenTest-4.6.0 in any of the sources When i'm trying to migrate my database using bundle exec rake db:migrate $ bundle show ZenTest c:/Ruby192/lib/ruby/gems/1.9.1/gems/ZenTest-4.6.0 $ rails -v Rails 3.0.9 $ ruby -v ruby 1.8.7 I…
ahmet
  • 4,955
  • 11
  • 39
  • 64
1
vote
1 answer

How do I resolve a ZenTest-4.6.2 successfully installed & missing gem?

I'm loosely going through http://ruby.railstutorial.org/chapters/ and am at the point of preparing to test http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools . I listed the autotest related gems in my Gemfile and ran bundle…
A Lion
  • 145
  • 1
  • 8
1
vote
1 answer

What does the autotest autoupdate module do?

https://github.com/seattlerb/zentest/blob/master/lib/autotest/autoupdate.rb It's not documented and I can't find any discussion about it on the web.
John Bachir
  • 22,495
  • 29
  • 154
  • 227
1
vote
3 answers

Autotest performance slowdown

I've been using ZenTest to run all the tests in my Rails project for years and it's always been quite nippy. However, on my Mac it has suddenly started taking 3 times as long to run all the tests. We have 1219 tests and for the past year it would…
Olly
  • 7,732
  • 10
  • 54
  • 63
1
vote
2 answers

A pretty GUI for autotest

I was wondering if anyone knows of any nice GUIs for autotest? I already know about all the plugins distributed with autotest (growl, knotify etc.), what I want is a little more. I would like a GUI that displays the total count of failed tests at…
Sam Saffron
  • 128,308
  • 78
  • 326
  • 506
1
vote
3 answers

How can I get autotest to notice changes in subdirectories?

I have some submodules organized like this: |-- app | |-- models | | |-- foo | | | |-- foo-1.rb | | | |-- foo-2.rb | | | |-- foo-3.rb | | |-- foo.rb How can I get autotest to notice changes made to foo-*.rb, and then run…
John Bachir
  • 22,495
  • 29
  • 154
  • 227
1
vote
4 answers

Autotest-4.4.6/ZenTest-4.4.1 broken with Rspec2 and Rails3

ZenTest and Autotest have been updated on December 1st. After upgrading to the latest versions (Autotest-4.4.6/ZenTest-4.4.1), autotest won't discover my specs and tries to run the standard unit test. The output of autotest is as follow :…
xto
  • 61
  • 1
  • 3
1
vote
3 answers

Autospec does nothing when I run

I have failing tests that show up when I do a 'rake spec' or the like. However when I run autospec it outputs the following then does nothing and returns me to the command prompt. $ autospec (Not running features. To run features in autotest, set…
Evolve
  • 8,939
  • 12
  • 51
  • 63
1
vote
1 answer

how to run .feature + _spec.rb + _test.rb with autotest

In one of my project with some existing code, some code is covered by _test.rb file, other is by _spec.rb and we introduced .feature It became a nice mixture of stuff to check. I am stumped how to run .feature, _spec.rb and _test.rb for red-green…
Ram on Rails
  • 1,299
  • 11
  • 25
1
vote
1 answer

How can I tell autotest to not rerun all tests unless I explicitly tell it to?

Autotest will rerun all tests every time my tests start passing when they were failing. I have a lot of tests, and for reasons I won't go into, rerunning all of them is painfully slow. How can I make it so autotest will never rerun all tests unless…
Blaine Lafreniere
  • 3,451
  • 6
  • 33
  • 55
1
vote
2 answers

My version of RubyGems is too new to install RubyInline/ZenTest

I'm trying to install the RubyInline gem, but to no avail. It says that ZenTest needs RubyGems between versions 1.8 and 2.1. I have RubyGems 2.1.7. Is RubyInline/ZenTest working on making it compatible with the newer versions?
hewhocomes
  • 441
  • 1
  • 4
  • 9
1
vote
1 answer

An error occurred while installing ZenTest (4.8.2), and Bundler cannot continue.

When I practice the Chapter three of the tutorial of Ruby on Rails. After mostly static pages: conclusion. I tried to push my app to heroku but an error showed up as below: (I searched this error everywhere but can not get a solution) Counting…
BenMliang
  • 11
  • 1