Questions tagged [autotest]

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

272 questions
0
votes
1 answer

Mapping multiple test classes to the same file for autotest

I'm using standalone autotest in my projects along with minitest. In one of my projects, I have a single file (validation.rb) that validates a document to different internal format levels. (A Level 2 document has more features than a Level 1…
Phrogz
  • 296,393
  • 112
  • 651
  • 745
0
votes
2 answers

autotest 4.4.6, zentest 4.4.1 not working in rails app for controller file (but works for spec file)

I know there are a few questions already regarding autotest and zentest but my problem seems a little different. In my case, if I run with autotest nothing happens other than a status message saying "Waiting since..." with no tests being run. If I…
Lan
  • 6,039
  • 7
  • 22
  • 24
0
votes
2 answers

How do I tell autotest to run my tests instead of my specs?

I have a rails 3 project with both specs and tests. If I fire up autotest it runs my specs. How can I make it run my tests instead? autotest -h is no help here.
John Bachir
  • 22,495
  • 29
  • 154
  • 227
0
votes
2 answers

Limit Integration tests run by autotest (Rails)

I'm using autotest, and have added hooks to run my integration tests. While working, any time I make a change that impacts any of the integration tests, all the integration tests rerun. This is the behavior I'd like to change, if possible. (I'm…
John Hinnegan
  • 5,864
  • 2
  • 48
  • 64
0
votes
1 answer

Generic fields initialization in Selenium

I am describing a grid or table view using Selenium. What I want to do is to develop an abstract class Table from which another classes will inherit. Here is the idea: AbstractTable class: public abstract class AbstractTable extends HtmlElement { …
K. Khanda
  • 550
  • 4
  • 11
0
votes
3 answers

Why isn't autotest working?

I'm trying to use autotest for Rails development. It's supposed to run my tests automatically. Here's my setup: $ which ruby /usr/bin/ruby $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] $ rails -v Rails…
Ethan
  • 57,819
  • 63
  • 187
  • 237
0
votes
1 answer

Element is not currently interactable and may not be manipulated on Robot Framework

I have a form with five fields and I am trying to input text into the last field. An example of my script is: [input] [id=combo-1234-textfield] [text] I already got the ID but when it tries to input text on the ID found, it says the…
0
votes
1 answer

How to set up relations between features and steps in lettuce?

I'm using lettuce BDD framework for python. In examples all scenarios use methods from only one *.py file - steps.py How to set up relations between *.feature and its *.py file? I need these feature files: auth.feature pay.feature and these py…
hudrogen
  • 342
  • 1
  • 3
  • 13
0
votes
3 answers

Autotest - Load Error - Error posted

bundle exec /Users/new2/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S /Users/new2/.rvm/gems/ruby-1.9.2-p0@rails3tut/gems/rspec-core-2.0.1/bin/rspec --autotest…
New2
  • 1
0
votes
0 answers

Linux Autotest: AttributeError

I just started trying Autotest for Linux kernel. I installed Ubuntu 16.04 into VirtualBox. And then downloaded autotest and the linux developer package. When I run the included tests I get errors similar to "AttributeError: xxx object has no…
0
votes
1 answer

BInd Jira test case and automation tests

Now on my project we use TFS as TestCase management tool, issue tracking system and code management. But we want to move to JIRA and Bitbucket. In VisualStudio we have ability to bind TC to automation test and then run test suite with automation…
DarkNik
  • 803
  • 2
  • 8
  • 17
0
votes
1 answer

Rspec, Spork, & Autotest Error

I'm trying to teach myself rails by going through http://railstutorial.org/. I quit working on the tutorial app last night and then came back to it today. Now I'm getting an error when I start up the Spork server. Here is a trace of the error. spork…
Chad
  • 18,076
  • 8
  • 31
  • 41
0
votes
2 answers

Detect click action when 'file open dialog' popping up

I think I have two questions. The second question is based on the first one. First, I want to know about using js to detect click action. Assume I have a button selectImage, which is used to upload local image picture, i.e. after click the…
Terence Xie
  • 185
  • 2
  • 16
0
votes
1 answer

Fastest rails test runner: spork and zentest?

I ran across a thread about slow rspec tests that made me wonder which rails test runner configuration will result in the fastest running recurring tests? I'm aware that ZenTest / autotest-rails can be used in conjunction with spork, but is that the…
Kaleb Pederson
  • 45,767
  • 19
  • 102
  • 147
0
votes
1 answer

Cucumber-boilerplate error running

I am looking for simple setup for doing auto testing js with cucumber, I find some nice package webdriverio/cucumber-boilerplate, but looks like it isn't working for me have some errors like: Uncaught Error: The path to the driver executable must be…
Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89