so you have done a boot camp or have created a rails project that you want to take it to the next level. Everyone is telling you that testing is a good thing but how and where do you get started?
in this intro to testing, I will take you through the following steps
add rspec/capybara for testing
write an "End to End" (E2E) "user flow" through your app, retrospectively
split the flow into a series of "arrange" (When) and "assert" (Then) statements
make it run in the browser
abstract the page with a Page Object Model using site_prism gem
delete all that cruft that you may have scaffolded up in the first place
touch on how to incrementally build out your app driving it with tests using "pending" statements
so you have done a boot camp or have created a rails project that you want to take it to the next level. Everyone is telling you that testing is a good thing but how and where do you get started?
in this intro to testing, I will take you through the following steps