README.md in nakal-0.1.1 vs README.md in nakal-0.1.2

- old
+ new

@@ -1,5 +1,8 @@ + +[![Build Status](https://travis-ci.org/rajdeepv/nakal.svg?branch=master)](https://travis-ci.org/rajdeepv/nakal) + # Nakal Automated visual testing of Android/iOS applications. Nakal is used to add visual validations in your existing test framework (using appium or calabash etc). @@ -89,9 +92,14 @@ top: 50 right: 18 left: 0 bottom: 0 screen_name_to_be_masked: {mask_region_1: [66,424,340,478],mask_region_2: [76,524,440,578]} + +3. If you want to set certain threshold while comparing. You can pass option as: + + diff_metric = nakal_execute("current_screen_name",{:acceptable_diff => "#{your_acceptable_diff_metric}".to_f}) + ## Contributing 1. Fork it ( http://github.com/<my-github-username>/nakal/fork )