Training, Open Source Programming Languages

This is page

Our email: • Phone: 01144 1225 708225

For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
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 ...
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: ...
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. ...
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 ...
Examples from our training material
breakfast.php   First sample page to test
first.feature   Simplest feature file   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.

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: • WEB: • SKYPE: wellho

PAGE: • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb