Quantcast
Channel: Robert Reiz » Testing
Browsing latest articles
Browse All 8 View Live

Image may be NSFW.
Clik here to view.

undefined method `visit’ for RSpec with Capybara

I just started to write an acceptance test with capybara. I followed the code example on the GitHub Page and I got this odd error: Failure/Error: visit 'http://127.0.0.1:3000/signin' NoMethodError:...

View Article


Image may be NSFW.
Clik here to view.

Testing SSL with Capybara and Selenium

I am using Capybara with Selenium as JS engine to write acceptance tests for a Ruby on Rails application. In some controllers I am forcing SSL with the “force_ssl” filter from Rails. By running the...

View Article

Image may be NSFW.
Clik here to view.

Moving Tests from Webrat to Capybara

I one of my applications I had a bunch of tests written with RSpec and Webrat. Unfortunately it seems that Webrat is not longer maintained actively anymore. That’s why it is a good decision to move to...

View Article

Image may be NSFW.
Clik here to view.

Don’t use Webrat anymore

Webrat is a testing Framework for Ruby. In general it is pretty cool, but DEAD! The last version was released more than 2 years ago. And there are only 200 GEMs referencing it. The newest PullRequests...

View Article

Image may be NSFW.
Clik here to view.

Testing AJAX with Capybara and Selenium

In the past days I migrated my tests from WebRat to Capybara and I wrote a couple new acceptance tests with RSpec, Capybara and the selenium-webdriver. All in one it’s pretty cool. You can just keep...

View Article


Image may be NSFW.
Clik here to view.

waiting for evaluate.js load failed

Recently I got this error message by executing my selenium tests: Selenium::WebDriver::Error::JavascriptError: waiting for evaluate.js load failed By updating the selenium-webdriver to the current...

View Article

Image may be NSFW.
Clik here to view.

Configuring host and port for Selenium/Capybara

I’m using Capybara and Selenium together with RSpec to test the Web Interface for VersionEye. That works very well. For an integration test I needed a callback on localhost:3000/auth/*. By Default...

View Article

Image may be NSFW.
Clik here to view.

Requirements for the perfect Crowd Software Testing Tool

The StartUp testCloud – a crowd software testing provider based in Berlin – is offering a service fro crowd software testing.  Now they are working on a new Crowd Software Testing Tool, which is...

View Article

Browsing latest articles
Browse All 8 View Live