The How and Why of End-to-End Testing
Tested codebases are the most signficiant development from Rails and Agile over the last 15 years. End-to-end testing, in particular, is the defining reason why Agile and Rails have been…
Achieving Developer Excellence with Automated Testing
Capybara
Tested codebases are the most signficiant development from Rails and Agile over the last 15 years. End-to-end testing, in particular, is the defining reason why Agile and Rails have been…
If you’re a Ruby or Rails developer looking for some advice on how to get better at integration testing: congratulations! You’ve reached the highest level of difficulty in all of…
def wait_for_ajax counter = 0 while page.evaluate_script(“typeof($) === ‘undefined'”) counter += 1 print “^” $stdout.flush sleep(0.1) raise “Jquery not initialized after 10 seconds.” if counter >= 100 end counter =…