Tag Archives: rspec

When I travelled halfway across the world to attend RubyConf 14 San Diego

It would be folly to even try and sum up all my experiences in one blog post. Hence this part is a short recap of my impressions of RubyConf San Diego. After a long journey of ~12000kms, little sleep, lots … Continue reading

Image | Posted on by | Tagged , , , , , , , , , | 2 Comments

Handy gems for minitest-rails

Originally posted on rails learning:
Welcome to ‘minitest’ world! Minitest is yet another ruby testing framework but it’s not a replacement to rspec. In rspec you can readily use things like ‘subject’, ‘metadata’ etc. However, minitest, as the name suggests, is…

Posted in Ruby on Rails | Tagged , | Leave a comment

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 … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , , | 6 Comments

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 Continue reading

Posted in Ruby on Rails | Tagged | 12 Comments

Payment Gateway testing 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 … Continue reading

Posted in Ruby on Rails, Tutorials | Tagged , , , | Leave a comment

Rspec Installation

Hello i am Amit K Kulkarni working as a QA Engineer in JoshSoftware Pvt Ltd.Few months back i started working on Rspec and it was really great to see such a nice anduser friendly language. Firstly let me start with … Continue reading

Posted in Ruby on Rails | Tagged | Leave a comment