Practical Test Automation: Learn to Use Jasmine, RSpec, and Cucumber Effectively for Your TDD and BDD

  • 2h 53m
  • Panos Matsinopoulos
  • Apress
  • 2020

Learn the principles behind test-driven development (TDD) and behavior-driven development (BDD) and see how Jasmine, RSpec and Cucumber can be used to your advantage. This book examines some of the leading technologies used for testing.

You'll see how to use Jasmine’s features to work with a JavaScript application. You will learn how to use Mini Test and RSpec with Ruby and Rubymine. Finally, you’ll use Cucumber to develop your software using a BDD approach.

Understanding test automation is a vital skill for any web developer. Practical Test Automation breaks down for you some of the important TDD and BDD technologies on the modern web.

What You'll Learn

  • Test an example JavaScript application with Jasmine
  • Use Jasmine with JS Bin
  • Work with Minitest for test-driven development
  • Test an example Ruby project with RSpec
  • Use Cucumber and Gherkin for behavior-driven development
  • Integrate Cucumber with RSpec

Who This Book Is For

This book is for anyone who wants to learn test automation and more about test-driven development and behavior-driven development.

About the Author

Panos Matsinopoulos loves developing programs, both for web browsers and for mobile apps. He has been doing that for the past 25 years and has developed numerous applications. He also loves writing books, blogging and teaching computer programming. He has organized a lot of programming classes for kids, adults and elderly people. You can read find him on Twitter @pmatsino.

In this Book

  • Introduction to Jasmine
  • Advanced Jasmine
  • Using Minitest
  • Introduction to RSpec
  • Useful RSpec Tools
  • Introduction to Cucumber
  • Advanced Cucumber