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
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.
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.
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.
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
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.
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
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 and won't work another time. The reason behind … Continue reading Payment Gateway testing using webmock
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 what is RSPECRSpec is a behavior driven development framework for the Ruby programming language.Behavior Driven Development … Continue reading Rspec Installation