How I test JavaScript-heavy Rails applications
20-Jun-2019 1815
I think of the fact that the application uses JavaScript like an inconsequential and irrelevant implementation detail. I test JavaScript-heavy applications using just RSpec Capybara integration tests, the same exact way I’d test an application that has very little JavaScript or no JavaScript at all.I don’t really have anything more to say about it since I literally don’t do anything different from my regular RSpec Capybara tests.
How I test JavaScript-heavy Rails applications #ruby #rubydeveloper #rubyonrails #JavaScript-heavy #Rails #applications #applications #javascript-heavy #test https://rubyonrails.ba/link/how-i-test-javascript-heavy-rails-applications