Welcome
Hello there, future BDD superstars! Welcome to our hands-on, fun-filled tutorial where we'll dive deep into the world of automating BDD scenarios using either Cucumber or SpecFlow. By the end of this tutorial, not only will you have had a blast learning and practicing with the most commonly used features of these tools, but you'll also stride away with a newfound confidence, ready to apply your shiny new skills to your real-world projects.
Meet Barter Bob's

Imagine a breeze in your hair, the scent of sea salt in the air, and tropical tunes playing in the background. Welcome to Barter Bob's - an energetic, rapidly-growing chain of neighborhood co-op grocery stores that's all about that beachy vibe! They specialize in unique, interesting foods, and everyday basics, all bearing the proud Barter Bob's label. Picture employees in vibrant tropical shirts, walls adorned with surfboards, and customers with smiles as sunny as the weather. Sounds cool, right?
Now, your mission, if you choose to accept it, is to help these groovy folks at Barter Bob's customize their brand spanking new self-checkout system. Initially, we'll make sure the system can scan items and calculate the total price (fingers crossed, without any hiccups!). Later, we're going to make things even more exciting by adding the capability to apply BOGO (buy one get one free) coupons and calculate the total price with those discounts included. Get ready for a fun ride!
🏄♂️ 🌴 👣 🏖️ 🦞 🦀 🐠 🐟
The Flow
As you flip through each page of this tutorial, you'll get to play with a new concept or technique. Just like a great story, it's designed to be completed in order.
Don't rush through, take your time, savor the learning process. The whole tutorial should take around 4 - 6 hours, depending on your familiarity with the topics we're covering. But hey, no pressure!
And remember, if you hit a roadblock, don't hesitate to call on your instructor for a rescue mission. After all, it's all about mastering each concept, not racing to the finish line. Nobody wants you to be stranded halfway through because you were too proud to ask for directions!
Let's Get Coding
You'll be working on a sample project that comes with a few features and scenarios already included. Whether you're on Team Cucumber or Team SpecFlow, we've got you covered. They're essentially twins, with only the language used to write the scenarios making them unique. You have your pick from JavaScript, Java, or C#.
On the next page, you'll get to choose your preferred language and download the project. So buckle up, and let's get this show on the road!