Sunday, November 10, 2013

0 Installing gem testlogger and requiring it

Reference: testlogger home page at rubygems.org

Assuming that ruby is configured on your machine, follow below steps to install testlogger gem.

Installing gem testlogger
  1. Open command prompt
  2. Type: gem install testlogger
  3. If the gem is properly installed, you should see following output on console
Requiring or adding testlogger support to your scripts
  1. To add testlogger support to your ruby scripts, on top of your scripts add,
    require 'testlogger' 
  2. If you want to test if testlogger is working fine from command prompt, you can also type in the same command switching to irb. Doing so, you should see output like below
Note: You may not find results location printed to console yet in you directories. This is because, testlogger generates output files only if there is at least one logging statement(message, warning, error, test-case, test-step). Don't worry about the logging statements yet. You will see them in coming tutorials.

Congrats, we just configured testlogger in your machine.

Happy Testing,
Shiva Krishna Imminni

0 comments:

Post a Comment

 

QuestionSelenium Copyright @Shiva Krishna