Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems

Phone System reconfiguration 11.1.2018 and 12.1.2018 - we are on email but incoming phone not available all the time
 

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Ruby module R222
Cucumber / web site testing with watir webdrivers and capybara
Exercises, examples and other material relating to training module R222. This module is presented on Private Courses and Specially Run Courses only




Articles and tips on this subjectupdated
4501Defining the behaviour of your web site and testing that it works
This example uses ... Capybara, Cumumber, Gherkin, RSpec, Selenium and Ruby ... yes, you'll need an explanation later on of what all of these are! Have you ever updates something on a website, only to find that it the process you've broken something else? I've been teaching Behaviour Driven Development ...
2015-05-30
 
4389Cucumber example - test::unit, scenario outlines, datafile driven test
Another Cucumber example - this time using test::unit, and with tables of cases in both the feature file and a separate data file. Running the code:   WomanWithCat:s2015 grahamellis$ cucumber behaviourtable   Feature: Checking some things on quotations        Scenario: ...
2015-01-08
 
4387Regression Testing my website - Cucumber and Watir
Problem - I update my website to make a change and in doing so break something that's worked for years. Frequency of occurence - All too often! And as my website grows over the months and years, so the changes of a change breaking something from the past increases, and so the need for testing increases. ...
2015-01-07
 
3426Automed web site testing scripted in Ruby using watir-webdriver
How do you test your web site? With a visit to a few pages, or by waiting for customer feedback if something's not working? That's a very risky approach, and what you really need is a planned and systematic testing regime, with unit tests that must be passed (but will flag fails) run on a regular basis. There ...
2011-09-09
 
Examples from our training material
breakfast.php   First sample page to test
first.feature   Simplest feature file
framework.inc   include file for microPHP site for testing
gunnislake.feature   features - back end JSON service
hello_quotation.feature   Gherkin - Behaviour description
hello_sel_steps.rb.hold   Tests - using Selenium
hello_wat_steps.rb.hold   Tests - using Watir
lunches.php   Test Application for Ruby / Cucumber
one_steps.rb   implementation of first features
plym.feature   Feature - first test of lunches
plymouth.txt   Sample output of running final example
quotation.feature   Gherkin Behaviour for a web site
quotation_steps.rb   Step definitions for web site testing
second.feature   Testing lunch requirements
second_steps.rb   implementation tests for lunch application
tamar.feature   First simple connectivity test
tamarsteps.rb   steps for plym,tamar and gunnislake
titleregister.json   Json sample
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
The web site testing issues.
Using watir-webdrivers to automate your test.
Specifying Behaviour in Gherkin.
Translating to tests in the step definitio.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2018: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/R222.html • PAGE BUILT: Mon Feb 8 18:55:24 2016 • BUILD SYSTEM: WomanWithCat