System Tests With Capybara and Selenium | Ruby On Rails 7 Tutorial

preview_player
Показать описание
System tests are pretty easy with Capybara, but if you're on WSL 2 then you'll need a bit of extra setup. After setup though, we can try some TDD!

Source:
Links:

Join this channel to help support these videos:

Follow me on social media:

Timestamps
0:00 Setting up Capybara With WSL 2
7:57 Using Capybara For Test Driven Development Of Comments
#Deanin #Software #Programming
Рекомендации по теме
Комментарии
Автор

System tests are just a fancy way of saying QA is tired of manually having to click the button to tell the devs their latest build sucks, you can't change my mind.

Deanin
Автор

Thank you for the video! Good to have the same video for "RSpec + Capypara"

rickbacker
Автор

You should also include FactoryBot when writing tests which is a huge benefit when working with Rails at scale.

mikopiko
Автор

Can we follow same approach for Rspec tests?

nidhityagi
Автор

Since WSL2 now supports GUI apps, isnt it just easier to install linux version of Chrome (or another browser) and treat it like a regular linux distro to run system tests?

orce
Автор

just buy a laptop to work and study, man ahhahahah
i did this and was the best decision.

larissacavalcante