Siva Gollapalli

Testing associations with factory girl


~1 year ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
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...

Factory_girl with Non-ActiveRecord classes


11 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
In earlier post we have seen how to test active record associations with factory girl. Now we will learn how factory girl works with non-active record classes...

Ajax forms testing using capybara, cucumber-rails and selenium


11 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
Manual UI testing plays a crucial part in test life cycle. However doing the same UI testing on every other day will became tedious. By using cucumber with...

Testing social networks using capybara, cucumber-rails, selenium


10 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
Integration of social networks is very common in every application. We have many gems are available for doing integration. But testing this social integration...

Stubbing Geo-location requests using webmock


10 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
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...

Payment Gateway testing using webmock


8 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
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...

Testing associations with factory girl


6 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
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...

Upstart Scripts in Ubuntu


3 months ago by Siva Gollapalli on Josh Software - Where Programming is an Art!.
Upstart is an event based tool that handles starting of services during system booting and shut-down the services before system is shut down. It also monitors...