Exercises, examples and other material relating to training module R222. This module is presented on Private Courses
and Specially Run Courses
|Articles and tips on this subject||updated|
|4501||Defining 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 ...
|4389||Cucumber 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
|4387||Regression 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. ...
|3426||Automed 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.
Examples from our training material
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.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
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.