Protip – Capybara-RSpec integration with Continuous Integration.

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.

Stubbing Geo-location requests using webmock

Geo-location integration is common today for every web application. We have gems on hand, to integrate Geo-location to our application. With few steps of configuration we can Geo-code our attributes ie., user addresses. But testing Geo-coding integration takes much more time than development! We currently use Google Map APIs for our work. If there are … Continue reading Stubbing Geo-location requests using webmock

Integrity Continuous Integration

Integrity is a Continuous Integration Tool where we can run our tests (Rspec or Cucumber) to check whether the application is running fine or not.  Whenever there is a commit it will run the test cases and checks whether the specs are passed or failed. Installation For basic instructions on setting up the Integrity go … Continue reading Integrity Continuous Integration

Testing associations with factory girl

Associations are very important when we are working with relational databases. Writing relations in models is easy but when it comes testing them, it is a painful task. Factory girl associations makes this easy. Before going into details, lets get the basics right. What is Factory Girl?    Factory_girl is a fixtures replacement with a … Continue reading Testing associations with factory girl