BDD Addict
Published in

BDD Addict

BDD Addict Newsletter November 2017

The monthly dose for BDD addicts… In November #bdd, #specflow and #cucumber stories by Graham Cox, Aslak Hellesøy, Blazej Kosmowski, Dirk Rombauts & Samir Talwar…

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

Dear BDD Addicts,

We all need some rest. I know it is only the beginning of December, but I am already thinking of the holiday season. Probably because for me November was very busy. I hope reading this newsletter helps you to get out from the rush for a few minutes.

Next year, I will move on with the newsletter, so if you see or write an interesting blog post, article or a session recording that is related to BDD, Cucumber, SpecFlow, agile testing or test automation in general, please send me the link to bddaddict@specsolutions.eu.

Let’s see the monthly dose and with this, I wish you happy holidays and an exciting new year!

[Cucumber] Aslak’s Cucumber Story

The first post I would like to list here is a podcast with Aslak Hellesøy, the creator of Cucumber. The interview was done by Joe Colantonio on the 10th anniversary of Cucumber. Aslak is not a sentimental person though. So instead of a dusty historical retrospect, he is talking more about how he sees BDD and Cucumber today and which patterns have worked for him to get the most out of BDD.

Ten Years of Cucumber BDD with Aslak Hellesøy (Aslak Hellesøy — @aslak_hellesoy, Joe Colantonio — @jcolantonio)

[BDD] Practicing BDD internal-DSL style

There are multiple flavors of BDD. There are many frameworks (like the Cucumber-family tools) that use special files and file formats to express the BDD scenarios. These files use a domain specific language (DSL), like the Gherkin language used by Cucumber feature files. The DSL that you use to describe the scenarios does not necessarily have to be in a special format, there are some tools, where the scenarios are written by using the programming language constructs of the automation code itself, e.g. the preconditions have to be highlighted by calling a method named “Given()”. When the domain specific language uses the host programming language, we say it uses an internal-DSL.

RSpec is such an internal-DSL BDD tool and the post by Błażej Kosmowski gives a good introduction to it from the BDD point of view. Although the post uses RSpec and Ruby, the conclusions also work for similar tools on other platforms.

An opinionated guide to readable Rspec (Błażej Kosmowski — @stevo84)

Amsterdam Arena, Amsterdam, Netherlands Feb 19th-20th, 2018

Testing is important. This conference is about getting experts and practitioners together to talk, learn and practice the art of testing. We’re looking into advanced new methods into making our testing more effective, as well as enrich our understanding of fundamental methods to grow a stronger community.

We’re tired of conferences that feel more like sales pitches than practitioners sharing the craft.

Come. Learn. Do. Teach. Test.

See you in Amsterdam, 19th-20th February 2018!

http://europeantestingconference.eu/2018/

Source: https://medium.com/selleo/an-opinionated-guide-to-readable-rspec-part-1-of-2-fe1dce79a478

[Cucumber.js] Meet Cucumber for JavaScript

I have started my BDD with Cucumber.js course because based on my experience, many JavaScript teams still miss the opportunity to be able to specify the expected behavior and use it for driving the development.

The post by Graham Cox gives a good introduction to Cucumber.js and generally about using BDD for JavaScript.

BDD in JavaScript: Getting Started with Cucumber and Gherkin (Graham Cox — @grahamcox82)

[SpecFlow] Separate driver layer

One of the biggest improvement related to test automation in the projects I have worked on was when we introduced a better separation of concerns in our automation code. We encapsulated the automation aspect of a particular area of the system to some helper classes and with that we separated it from the testing aspect (what to do, what data to use, etc.). There are many names for these kinds of helper classes. If the application area is a visual component, these classes are typically called page objects. Some people call these classes “adapters”, but I like to call them “drivers”.

Dirk Rombauts summarized his thoughts on this topic in the following post.

Organizing Your Automation Layer (Dirk Rombauts — @QuestMasterNET)

BDD with SpecFlow Course in Budapest

Eager to learn about SpecFlow and BDD? Join my SpecFlow course in Budapest 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, 14–16 February

Check out my Cucumber.js course as well!

[BDD] BDD dialog

Whenever I prepare for a talk or a course, I always think it over as a dialog with my imagined audience. I introduce the topic and if it sounds interesting to them, they ask questions and by answering them I can explain the topic more in detail. I sometimes even keep these imagined questions as section boundaries in my talks. I was quite happy when I’ve found the blog post by Samir Talwar. He is talking about BDD, but in a dialog style. I have found it quite interesting!

Teach Me BDD (Samir Talwar — @SamirTalwar)

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 working as a trainer & coach. Check out his public SpecFlow or Cucumber.js courses or request an in-house private course for your team. He is a bdd addict and as such he’s editing a monthly newsletter about interesting articles, videos and news related to BDD, SpecFlow and Cucumber.

Originally published at gasparnagy.com on December 14, 2017.

--

--

--

Interesting articles about behavior driven development, SpecFlow, Cucumber and also test automation and agile testing. Subscribe to our monthly newsletter at http://bddaddict.com.

Recommended from Medium

Why HTTP request compression is almost never supported

How to Connect to Airflow Workers on Cloud Composer

Setting up SSH for multiple GIT Accounts

How Do You Define “Good Code” ?

Tutorial Fuzzy Logic Mamdani for Arduino

Tutorial Fuzzy Logic Mamdani for Arduino

IT Asset Depreciation In AssetSonar

Tutorial Fuzzy Logic Mamdani for Arduino

Tutorial Fuzzy Logic Mamdani for Arduino

How To Use “Actors” In Unity To Create Animated Cinematics In Timeline

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gáspár Nagy

Gáspár Nagy

creator of SpecFlow, coach, trainer, BDD addict

More from Medium

Integration Tests project part 1

Introduction of Consumer-Driven Contract Testing

Flexible and Dynamic Test Fixtures in Playwright

Test Maturity Model