Questions tagged [autotest]

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

272 questions
1
vote
0 answers

problem with clicking on a button in a connection popup dialog using protractor

my problem is in the attached picture, I have tried in many many different way but non of them will cause clicking on this button tried ways like: element(by.css.....), element(by.apath.....), element(by.className.....) and many more when using…
ardfar68
  • 11
  • 1
1
vote
1 answer

Mocha's regexp_matches missing some times

I'm having a hard time getting any consistant behavior from Mocha and the regexp_matches method. If autotest runs my entire test suite everything works fine. If I purposely cause the test containing the regexp_matches call to fail and then fix it…
pcg79
  • 1,283
  • 9
  • 20
1
vote
2 answers

Can't install autotest 4.4.6

I'm using RVM, and when I attempt to install autotest with: rvmsudo gem install autotest and get Fetching: autotest-4.4.6.gem (100%) Successfully installed autotest-4.4.6 1 gem installed Installing ri documentation for autotest-4.4.6... …
Michael Brennan
  • 1,031
  • 8
  • 19
1
vote
2 answers

Cypress: key combinations

I'm trying to write the keyboard shortcut 'ctrl+F1' I tried cy.get('body').type('{ctrl}',{release:false}).trigger('keydown',{key: "F1", code:"F1", which:112}); But it doesn't work What do you suggest?
Raziel Zohar
  • 109
  • 1
  • 11
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
1 answer

Use NUnit Prefilter by nunit3-console

I'm developing data driven tests using Nunit3 and .Net Core 3.1 and I have many tests with more different data sources, which sometimes have complex logic inside. When I want start only one tests I want to start only one data provider, but I run…
1
vote
1 answer

Not Receiving Growl Messages from Autotest on Windows

I am following the Ruby on Rails Tutorial (http://ruby.railstutorial.org) . In Chapter 3, the author covers testing. Everything seems to be working according to the instructions, but I don't get Growl notifications (green or red) after starting…
JHo
  • 1,068
  • 1
  • 14
  • 29
1
vote
1 answer

can't find executable error autotest 4.4.6

I'm trying to roll back a failed installation of spork, and uninstalled autotest since I was having problems with it. Upon reinstall, I am now getting this error when running autotest from the command…
TronSawyer
  • 46
  • 1
  • 6
1
vote
2 answers

Getting Autotest to Work with Growl on OS X

I'm using Ruby 1.9.2 and Rails 3.0.7 on Mac OS X 10.6.7. I have had the most terrible time getting growl to display autotest notifications. I have autotest installed and working perfectly. Every time I make a change to a file, the tests are run…
LandonSchropp
  • 10,084
  • 22
  • 86
  • 149
1
vote
0 answers

Rails 3 Validations - Association Properties, RSpec, and Factory Girl

I'm trying to write a validation class in rails 3 that will check for the presence of at least one associated object that has a particular property value. In my scenario, an Account can have many Users. The User model has a "Role" string field. …
1
vote
0 answers

Does Cypress really scroll to the given element while clicking on it?

Cypress declares that before performing dblclick() command and other actions it makes the command subject visible by means of scrolling to it. But I have a problem with this. In my test I have a chain of the…
vitaliy4us
  • 483
  • 5
  • 21
1
vote
2 answers

Spec is missing in Allure report if an error occurred in setup methods

In my GEB + Selenium Webdriver tests there are some UI actions in setupSpec() methods (common case, I believe). The problem is that if there is an exception in those steps, the whole spec is completely missing in the final report, but it's logical…
Bohdan Nesteruk
  • 794
  • 17
  • 42
1
vote
1 answer

Rails 3 + Rspec 2 + Autotest: Autotest does not load

I have installed autotest and Rspec2 but Autotest does not want to run. The folder autotest has not been created (I have created it by hand and added discover.rb) and when I run autotest this is what I get over and oveR: $ autotest loading…
donald
  • 23,587
  • 42
  • 142
  • 223
1
vote
1 answer

`rspec --configure autotest` throws "uninitialized constant Class::FileUtils"

I'm trying to setup autotest with RSpec. Never had a problem before, but when I run rspec --configure autotest, I get the following error/trace: Autotest loads RSpec's Autotest subclass when there is a .rspec file in the project's root…
GarlicFries
  • 8,095
  • 5
  • 36
  • 53
1
vote
2 answers

Set environment variables to Allure report from pipeline script

I'm running Jenkins parameterized jobs with the following pipeline configuration of allure step: stage('Generate reports') { allure([ includeProperties: false, jdk : '', properties : [], …
Bohdan Nesteruk
  • 794
  • 17
  • 42