I was asked to summarise the process for automated checks in an easily readable format for non techies to understand, so heres a little snippet of what I can share:
A pragmatic approach to automated testing is taken. Automating only where we see the value.
There are multiple layers of automated checks:
- Unit – Run on every check in. Check individual units of code. When code is checked in these tests are run and if any fail are fixed.
- Integration – Run overnight. Check where Enactor talks to other systems, e.g the database.
- UI – Run overnight. Follow a user journey, simulating button clicks and typing as if it was a real user.
Manual to Automated
Scenarios are creating using Behaviour Driven Development (BDD) format for every user story. A scenario is worded in the Gherkin language. e.g.Given When Then
These are output as Cucumber feature files, which can then be automated using Selenium Webdriver, using Java code
Selenium webdriver http://www.seleniumhq.org/projects/webdriver/