Live Coding: Testing your SPA with Cucumber and Gherkin

In this video, the host dives into using Cucumber and Gherkin syntax for testing an application. The talk covers setting up tests, handling API results using Selenium and chaos monkey, and demonstrates best practices in behavior-driven development.

Live Coding: Testing your SPA with Cucumber and Gherkin

Watch on YouTube
In this video, the host dives into using Cucumber and Gherkin syntax for testing an application. The talk covers setting up tests, handling API results using Selenium and chaos monkey, and demonstrates best practices in behavior-driven development.

In this video, the host dives into using Cucumber and Gherkin syntax for testing an application. The talk covers setting up tests, handling API results using Selenium and chaos monkey, and demonstrates best practices in behavior-driven development.

Transcript

00:00 - Intro and Goals: The host kicks off the stream discussing their follower goals and plans for the session on testing with Cucumber and Gherkin.

00:00 - 13:53 - Cucumber & Gherkin Basics: An overview of what Cucumber and Gherkin are, explaining behavior-driven development and writing specs in English.

13:54 - 27:45 - Setting Up: Installing necessary packages, setting up the project environment, and launching the application.

27:46 - 50:14 - Writing Tests: Starting to write tests, detailing the Gherkin syntax and creating feature files for contacts.

50:15 - 1:09:38 - Implementing Tests with Selenium: Discussing how to automate tests with Selenium and handle various scenarios, including using Aria attributes for accessibility and test validation.

1:09:39 - 1:30:02 - Encountering Errors & Debugging: Troubleshooting issues like orphan processes and tweaking tests for better results while re-emphasizing good practices.

1:30:03 - 1:54:12 - Final Thoughts and Wrap-Up: Closing remarks about the learning experience, thanking followers, discussing future stream plans, and sharing resources for further learning.