Cloud Computing: The Digital Shift 2.0 – Understanding the Current Market Trends

Tutorials

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 »

Upstart Scripts in Ubuntu

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 the services while they running. It was designed to overcome the limitations in system V and dependency based init systems. Limitations in existing systems They are not dynamic in nature. …

Upstart Scripts in Ubuntu Read More »

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 »

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 …

Stubbing Geo-location requests using webmock Read More »

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 »

Testing social networks using capybara, cucumber-rails, selenium

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 1: Set up default driver to selenium. [sourcecode lang=”ruby”] #features/support/env.rb …

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

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 »

Ajax forms testing using capybara, cucumber-rails and selenium

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 UI testing by using capybara with cucumber. While automating, ajax forms …

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