Questions tagged [autotest]

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

272 questions
0
votes
1 answer

How to make rails autospec stop looping

I'm using autospec and when all tests are passing, the green messages pops up just once, but when the tests are NOT passing, it remains popping up infinite red windows in growl. Does anybody knows how to turn this off and make autospec run just…
Daniel Cukier
  • 11,502
  • 15
  • 68
  • 123
0
votes
1 answer

ZenTest autotest can't find rubygems

I have a rails project that runs fine in development and production and the tests pass when I do a rake test but when I try to autotest it it fails with: Missing the Rails 2.3.3 gem. Please `gem install -v=2.3.3 rails`, blah blah Of course the…
Kostas
  • 8,356
  • 11
  • 47
  • 63
0
votes
2 answers

Errors in Rspec with rails 3.2 (DEPRECATION WARNING)

I'm starting autotest 'rspec=true autotest' and I have error (rake db:test:prepare is performed): DEPRECATION WARNING: Calling set_table_name is deprecated. Please use self.table_name = 'the_name' instead. (called from include at…
user1466717
  • 779
  • 1
  • 10
  • 23
0
votes
1 answer

Ruby Autotest on Windows and Growl

I'm working through Hartl's Ruby on Rails Tutorial for Rails 3, and there's a few things I'm trying to get setup, and I'm a bit stumped. First, autotest seems to run fine in and of itself. It does seem to take a bit longer than anything I've seen…
Brent Goss
  • 11
  • 4
0
votes
1 answer

Rails + Spork + Minitest + Autotest and models

I installed Rails + Spork + Minitest + Autotest as shown by S. Christoffer Eliesen in how-to-combine-autotest-and-spork-in-rails-testing and it works great for tests that doesn't involve the database. It doesn't work if I add a model though: rails…
Manuel
  • 10,869
  • 14
  • 55
  • 86
0
votes
1 answer

RSpec Autotest loops with failures, doesn't work when exceptions are added

I've been playing around with autotest trying to make it work all day.. but am having some problems... I've been following https://github.com/rspec/rspec/wiki/autotest, I'm running with: Ruby 1.9.3-p194 rspec 2.10.0 ZenTest 4.8.1 I also created a…
Louis Sayers
  • 2,162
  • 3
  • 30
  • 53
0
votes
1 answer

Chain psexec and nunit is not working (psexec exit with code 1 and nunit is crashed)

Sorry for unclear subject but i really don't understand where problem. I use a system for autotests c#+webdriver for chrome + nunit (2.6) + cc.net ( 1.6.7981.1) And my tests is run on remote machine (Windows XP SP 2 x86)via psexec which start bat…
alexey.chumagin
  • 630
  • 5
  • 16
0
votes
4 answers

How can I have autospec/test not run the full test suite after everything goes green?

Same question as waloeiii in twitter: How can I have autospec/test not run the full test suite after everything goes green? The next test I write will be red! I'd rather run the full test suite manually. By the way, I tried adding a failing…
gsmendoza
  • 1,394
  • 1
  • 13
  • 31
0
votes
3 answers

Why is autotest not working?

I changed my .autotest file to use it with a Ruby-based project. After that, when I wanted to use it for Rails, it is using the .autotest configuration settings I used for the Ruby project. I uninstalled autotest and reinstalled it with no luck. I…
Subba Rao
  • 10,576
  • 7
  • 29
  • 31
0
votes
1 answer

How to make autotest only run integration tests when I press ^C

Is there any hook in autotest that could make it work like this: skip running the integration tests (as they are slow), unless I press ^C to run all of them? As an added bonus, if I modify a specific integration test, it should be run by autotest…
szeryf
  • 3,197
  • 3
  • 27
  • 28
-1
votes
3 answers

Check that each Color field has a color value (format string "#FFFFFF")

I have task: "Check that each Color field has a color value (format string "#FFFFFF")". I have a solution: @Test public void sixTest() { Specification.installSpec(Specification.requestSpec(), Specification.responseSpec()); Response response…
Otto Rahn
  • 143
  • 2
  • 10
-1
votes
1 answer

Selenium webdriver doesn't show error about noutfounding element

I try to find text on the page driver.findElement(By.xpath("//label[contains(text(),'Some text')]")); I know that text not displayed in the page. But system accepts test as Successed. Why System doesn't show Error about NoSuchElementException
Vazzim
  • 1
  • 1
-1
votes
1 answer

Ruby on Rails Autotest No Longer Catching Errors

I am going through Hartl's rails tutorial and the autotest is no longer running newly written tests. I write a new test and it will not be reflected in autotest. Autotest still runs and remains green with a set number of examples. Existing tests…
Will Dennis
  • 1,045
  • 1
  • 10
  • 12
-1
votes
1 answer

Nightwatch enable to detect inputs in Instagram

I tried a lot of different methods to set values for inputs https://www.instagram.com/accounts/login/?source=auth_switcher username password .waitForElementVisible('input[name=username]',1000) But unfortunately I did not find a solutions The…
-1
votes
1 answer

Pass a process ID to start selenium in

How can I pass a chrome process ID to selenium to force it to start an existing browser? I tried passing arguments to capabilities but they did not help. Thanks Any help is appreciated. capabilities.setCapability( "pid", pid );…
1 2 3
18
19