Talks
From RSpec to Jest: JavaScript testing for Rails devs

From RSpec to Jest: JavaScript testing for Rails devs
Stefanni Brasil • March 21, 2024 • Las Vegas, NV

Do you want to write JavaScript tests but feel stuck transferring your testing skills to the JavaScript world? Do you wish that one day you could write JS tests as confidently as you write Ruby tests? If so, this talk is for you.

Let’s face it: JavaScript isn’t going anywhere. One way to become more productive is to be confident with writing JavaScript automated tests.

Learn how to use Jest, a popular JavaScript testing framework. Let's go through the basics of JavaScript Unit testing with Jest, gotchas, and helpful tips to make your JS testing experience more joyful.

By the end of this talk, you’ll have added new skills to your JS tests toolbox. How to set up test data, mock HTTP requests, assert elements in the DOM, and more helpful bites to cover your JavaScript code confidently.

Sin City Ruby 2024

Explore all talks recorded at Sin City Ruby 2024
+4