BDD Addict Newsletter February 2018

Gáspár Nagy
BDD Addict
Published in
4 min readMar 5, 2018

The monthly dose for BDD addicts… In February stories by Michael Fritzius, Unmesh Gundecha, Jeff Langr, Lyudmil Latinov & Dmitry Tishchenko …

Subscribe to the monthly newsletter at http://bddaddict.com so that you never miss it! (Did you get the January issue?)

Dear BDD Addicts,

I don’t know how much money has been spent (wasted?) on handling, testing and fixing software issues caused by the leap years. February is sometimes longer, sometimes shorter. Tester’s nightmare (or paradise depending on from where you see it). This year it was short, but for me it even felt shorter as so many things happened. Among others, I attended the European Testing Conference that was held in Amsterdam this year. Keep your eye on this conf next year! It was really good. The other important thing that our book with Seb Rose (Discovery: Explore behaviour using examples) has been released on Amazon in print! We are really proud of this and already working on the next book (Formulation), which is about writing good BDD scenarios. (If you have read or you are just reading the Discovery book, please help us and other readers by providing feedback on Amazon. Thank you!)

Fighting for the first printed copy with Gojko Adzic at the European Testing Conference

[BDD] BDD without automation

When we talk about BDD, we naturally assume that all scenarios will be automated. (Some even see BDD and the related tools as test automation tools…) Automation is an important element of BDD but not an essential one of it, especially if we think whether ALL scenarios should be automated. Certainly not. But thinking about illustrative examples and formulating them to Given/When/Then based scenarios might be useful, even if the scenario is not automated at the end. The post by Jeff Langr talks about this topic, including how we could communicate this to the business.

Should We Automate All of Our Feature Scenarios? (Jeff Langr, @jlangr)

[Process] Measure automation results

I am not a metric-guy, but I am aware that the results you have achieved by introducing BDD are definitely important, especially if you introduce BDD to an existing project/product. Dmitry Tishchenko summarizes a few interesting and important metrics that you might consider when increasing test automation efforts in a project. This might be also helpful to decide what scenarios we should automate.

Defining Test Automation Metrics (Dmitry Tishchenko at @A1QA_testing)

The BDD Books: Discovery is already available at Amazon, too. Take a piece and read it on your way to work or home. Check it out at bddbooks.com.

[Learn:Cucumber JVM] Speeding up Cucumber JVM scenario execution with parallelization

Slow scenarios are bad, because they will not provide quick feedback for the delivery team. There are many options and ideas for improving the speed of the automated scenarios. I would recommend thinking about parallelization once you have applied all other improvement techniques, as parallelization makes the measurements of any other improvements much harder. Anyway, parallelization is an important technique and Lyudmil Latinov gives a good introduction to running Cucumber JVM scenarios in parallel.

Running Cucumber tests in parallel (Lyudmil Latinov, LinkedIn:lyudmillatinov)

[BDD] Get more out of your BDD scenarios

I had once a lightening talk at Agile Testing Days about what other benefits you can get from your BDD scenarios, for example get performance benchmarks or generating a video from UI automated scenarios. Michael Fritzius lists a couple of other existing ideas that you can apply if you have already automated BDD scenarios.

Cucumber: Good for more than just behavior-driven development testing (Michael Fritzius, @Testzius)

BDD with SpecFlow Course in London

Eager to learn about SpecFlow and BDD?
Join my SpecFlow course in London to learn how to apply BDD for .NET apps.
The course is
for developers and testers, who are involved in automating BDD scenarios. As the course exercises are based on pair-programming, product owners or business analysts with basic coding knowledge are also welcome.
See the detailed course outline and book your seat on the event page.

BDD with SpecFlow for Developers and Testers, 11–13 April

Check out my Cucumber.js course as well!

[Automation] Automation “mission impossible”: Mainframes

Is it possible to use Cucumber/SpecFlow/Behat for my legacy app? I pretty often get such questions. The concept of BDD (discussing and understanding the requirements through illustrative examples and formulating them to scenarios) can be applied for nearly any projects. The automation, however, might be tough for an old legacy application. In the following post, Unmesh Gundecha shows an example about something that most of us would consider as a “mission impossible”: automating Mainframe apps. Actually it is pretty easy, as you can see!

Automated Acceptance Testing for Mainframe With Cucumber and Jagacy (Unmesh Gundecha, @upgundecha)

If you liked this newsletter, please consider giving a 👏 or two and follow me for future stories. Thanks for reading.

Gaspar Nagy is the creator of SpecFlow, developer of SpecSync, working as a trainer & coach. Check out his public SpecFlow or Cucumber.js courses or request an in-house private coursefor your team. He is a bdd addict and as such he’s editing a monthly newsletterabout interesting articles, videos and news related to BDD, SpecFlow and Cucumber.

Originally published at gasparnagy.com on March 5, 2018.

--

--