fbpx

ATDD all the things

Posted by John Ferguson Smart

A guest post from Andreas Worm (source: https://www.linkedin.com/pulse/atdd-all-things-andreas-worm) Why would you test the frontend, if you are not confident that the backend is performing correctly? In this article we utilize Serenity BDD and the screenplay pattern. Due to the added level of abstraction, it allows for defining "given-when-then" type scripts to be implemented on the…

Improve Your Test Automation Learning And Delivery With The Three Stream Method

Posted by John Ferguson Smart

What are your testing goals for the week? One way I like to prioritise my own goals is to think in terms of streams. The most obvious stream is value. You need to deliver value to your customer. From an agile test automation perspective, for example, this might mean writing relevant automated tests that help…

Feature Mapping – a lightweight requirements discovery practice for agile teams

Posted by John Ferguson Smart
Agile | bdd |

Feature Mapping is a simple but effective way for teams to discover, explore and deeply understand the features their customers need. In a Feature Mapping session, teams work through concrete examples of how a feature should work, breaking these examples down into steps and tangible business outcomes. Mapping out these examples helps team members discover…

Handling Waits and Asynchronous Pages in Serenity BDD

Posted by John Ferguson Smart

Modern web applications are asynchronous by nature. So knowing how to wait for elements, before trying to interact with them, is an essential skill in modern test automation. Many testers pepper their web tests with Thread.sleep() statements, but this is the sub-optimal at best. It slows down the tests, makes them more brittle, and can…

Learn about Cucumber 4, Java, and Serenity BDD in a new chapter of the Serenity BDD book

Posted by John Ferguson Smart

Cucumber 4 has a lot of new features which can help make our Cucumber test automation code cleaner and more expressive. But there are also some big changes under the hood! Fortunately, Serenity BDD is here to help. The Serenity BDD Book has a brand new and very detailed guide on working with Cucumber 4,…

Test setup and teardown in Cucumber and Serenity BDD

Posted by John Ferguson Smart

When we write automated acceptance tests we often need to perform some initial tasks to prepare test data or set up the test environment. Likewise, when a test finishes, we often need to tidy up the database or put the environment into a clean state. With Serenity BDD and Cucumber, there are several ways to…

Serenity Ensure – Fluent Assertions in Serenity Screenplay

Posted by John Ferguson Smart

Assertions are an important part of any test automation framework, and Serenity gives us many options. You can of course use standard JUnit, Hamcrest or AssertJ assertions at any point in a Screenplay test. But more recent versions of Serenity Screenplay provide an alternative approach, which many developers find easier to use and faster to…

BDD in Action: Advanced BDD Test Automation

Posted by John Ferguson Smart

Join John Ferguson Smart in Madrid this June at Expo:QA and learn the finer points of Advanced BDD Test Automation practices In this workshop with John Smart, author of BDD in Action, you will be introduced to the principles and practices of applying software engineering design practices to test automation, looking at concepts such as…

Cukenfest london – Open space and workshops

Posted by John Ferguson Smart

Gherkin Refactoring Patterns Good Gherkin is easy to read but hard to write. And while there are many tips and tricks for writing good Gherkin, often teams still struggle to keep their scenarios clean, informative and readable. In this talk, we will take a practical look at some real-world Gherkin scenarios, and see why they…

National Software Testing Conference

Posted by John Ferguson Smart

John Ferguson Smart is an international speaker, consultant, author and trainer well known in the Agile community for his many books, articles and presentations, particularly in areas such as BDD, TDD, test automation, software craftsmanship and team collaboration. John is the author of the best-selling BDD in Action, as well as Jenkins: The Definitive Guide…

© 2019 John Ferguson Smart