Josh Software

Tutorials

functional testing

Implementing Rails APIs like a professional – Josh Software

Implementing Rails APIs like a professional – Josh Software Today, a web-portal that does not support APIs is not even considered a web portal! This post explains how we can implement Rails APIs in our application. Rails APIs require the following minimum implementation: API keys. API Versioning. API Request Authentication. Request throttling (optional). Let’s see …

Implementing Rails APIs like a professional – Josh Software Read More »

josh ruby

Migrating to new Heroku Postgres plans – Josh Software

Migrating to new Heroku Postgres plans – Josh Software Sameer Tilak 2012-08-28 14:29:09 Recently Heroku released new version of postgres 9.1 with new price plans. A notice was send to all users to migrate from there existing share database to new planes released with Postgres 9.1. In these new plans concept of limit on using …

Migrating to new Heroku Postgres plans – Josh Software Read More »

josh ruby

Ruby back to basics – Modules and more de-mystified – Josh Software

Ruby back to basics – Modules and more de-mystified – Josh Software Gautam Rege 2012-05-24 15:03:58 I often teach Ruby at corporates, take some classes at colleges and speak at some events. Its great when I encounter aggressive and passionate programmers who question and counter question me at every step. These are some of the …

Ruby back to basics – Modules and more de-mystified – Josh Software Read More »

josh ruby

Payment Gateway testing using webmock – Josh Software

Payment Gateway testing using webmock – Josh Software 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 …

Payment Gateway testing using webmock – Josh Software Read More »

josh ruby

Stubbing Geo-location requests using webmock – Josh Software

Stubbing Geo-location requests using webmock – Josh Software 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 …

Stubbing Geo-location requests using webmock – Josh Software Read More »

josh ruby

Testing social networks using capybara, cucumber-rails, selenium – Josh Software

Testing social networks using capybara, cucumber-rails, selenium – Josh Software Integration of social networks is very common in every application. We have many gems are available for doing integration. But testing this social integration is complicated task. Using capybara with cucumber we can easily test this similar to the normal UI testing through capybara. Step …

Testing social networks using capybara, cucumber-rails, selenium – Josh Software Read More »

josh ruby

Ajax forms testing using capybara, cucumber-rails and selenium – Josh Software

Ajax forms testing using capybara, cucumber-rails and selenium – Josh Software 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 capybara we can transform these mundane tasks into some interesting learning. We can easily automate manual …

Ajax forms testing using capybara, cucumber-rails and selenium – Josh Software Read More »