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 of coffee, and several moments of uncertainty ; I finally arrived at San Diego Convention … Continue reading When I travelled halfway across the world to attend RubyConf 14 San Diego

Handy gems for minitest-rails

Minitest, as the name suggest, does not include a lot of features automatically provided in rspec. Here is a list of gems that you can use to enhance minitest-rails.

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 a light-weight testing framework and does not include a lot of these features automatically. Here is a list of gems that you can use to enhance minitest-rails.

1. m

m is a test runner similar to rspec command in rspec framework. Using this we can run single test using line numbers too. Users who don’t like this gem can also run tests using default rake tasks provided by minitest.

2. minitest-metadata

metadata is one of the cool features in rspec. Using this we can tag scenarios across files. Unfortunately minitest doesn’t support this feature by default. We have to include a separate gem called minitest-metadata. We can implement rspec conditional hooks functionality through this…

View original post 198 more words

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.