Getting started with Serenity BDD and Cucumber 4

Posted by John Ferguson Smart

Serenity BDD is a library that makes it easier to write high quality automated acceptance tests, with powerful reporting and living documentation features. It has strong support for both web testing with Selenium, and API testing using RestAssured. Serenity strongly encourages good test automation design, and supports several design patterns, including classic Page Objects, the…

Page Objects that Suck Less – Tips for writing more maintainable Page Objects

Posted by John Ferguson Smart

Page Objects are one of the most widely used test automation design patterns around. Most QA engineers have used a variation of Page Objects at some point. However, it is often misunderstood and used poorly, which can result in test automation code that is fragile and hard to maintain. In this article, we will look…

Reporting Manual Test Results in Serenity BDD

Posted by John Ferguson Smart
bdd | cucumber | serenity-bdd |

Serenity is primarily designed to report the results of automated acceptance tests. However, there are times when some tests need to be done manually. And it is useful to report these tests in the overall test reports, to get a broader picture of test coverage. To make this easier, Serenity with Cucumber provides some support…

The Serenity Dojo courses just became a whole lot more job-worthy!

Posted by John Ferguson Smart

In 2019, the Serenity Dojo will be integrating with Accredible. Accredible is one of the most widely recognised digital credentialing platforms. From January 2019 onwards, when you complete one of the Serenity Dojo courses, you will receive a digital certificate that you can download and use as evidence of your training. You can even post…

Environment-specific configuration in Serenity BDD

Posted by John Ferguson Smart

When we write acceptance tests, we often need to run them against different environments. Managing the URLs for each environment by hand can be cumbersome, especially when there are not just web pages, but also REST end points, databases etc to think about. Fortunately, Serenity BDD provides a lot of flexibility in configuring environment-specific options….

Serenity BDD and JIRA – a 5 minute primer

Posted by John Ferguson Smart

Serenity BDD provides a number of ways you can integrate your acceptance tests with JIRA. In this article, we look at a few of the more common ones, focusing on integration with Serenity BDD and Cucumber. Adding links to JIRA in your Serenity reports The first and easiest integration with JIRA is to get Serenity…

Byte-Sized Serenity BDD – Episode 1

Posted by John Ferguson Smart

https://youtu.be/9CSrBMYbfdE In this first episode of Byte Sized Serenity BDD, we look at a new feature: Transitionary Screenshots.

So you say you are doing BDD? The story of the whiteboard and the nail gun

Posted by John Ferguson Smart

“BDD is what makes you BE agile, instead of just doing agile” It isn’t hard to find a team that says they are doing Behaviour Driven Development, or BDD. This isn’t too surprising, since, when done well, it is an extremely effective way of delivering high value, high quality solutions to your users. Unfortunately, the…

Creating Tasks in Serenity Screenplay

Posted by John Ferguson Smart

Serenity Screenplay helps us write cleaner, more elegant and more maintainable code, and Serenity 2.0.13 has added some great improvements in this area. Read on to find out more! One of the most powerful aspects of Serenity Screenplay is the way it documents user interactions with the system in a clean and readable way, both within…

REST API testing with Rest-Assured and Serenity-BDD – a primer

Posted by John Ferguson Smart
serenity-bdd |

REST API testing an increasingly important part of modern software architectures. And in a world where speedy delivery is of the essence, comprehensive automated tests are not an option. From a testing perspective, understanding REST APIs and how to use them is vital, even if you aren’t writing tests for an API directly. Testers can…

© 2019 John Ferguson Smart