If you are dealing with UI test case automation wherein you see your test cases running in the launched browser window - example being using 'Capybara' with 'Selenium web-driver' or for that matter any web-driver , then this post can prove to be useful to you . Each time you run such test case suite, … Continue reading Protip – Capybara-RSpec integration with Continuous Integration.
Tag: rspec
Pro Tips For Writing Better RSpec Tests
Writing 'good code' is always a challenge for every project. Unfortunately, we always associate it with development and not tests. What about automation test code? Ever notice that you have write more automation code than the actual lines of development code? Here are a few guidelines that I learned from my experience
Discover How We Test Payment Gateway Using Webmock
Testing the payment gateway involves lots of scenarios like what should happen if exception is raised while doing payment. To test this scenario we have to call payment gateway API and take response. But herein lies a problem. The test code you have written may work sometime and won't work another time. The reason behind … Continue reading Discover How We Test Payment Gateway Using Webmock