From 25cea57dbbf8bf37108481dc83c2d536890b1a47 Mon Sep 17 00:00:00 2001 From: Dennis E. Mungai Date: Wed, 18 May 2016 02:24:10 +0300 Subject: Added a new Navigation Test suite A new option for running the script is now available. See the output of ./test-website -n for usage.--- bin/test-website | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin') diff --git a/bin/test-website b/bin/test-website index 24274713..aeab459b 100755 --- a/bin/test-website +++ b/bin/test-website @@ -25,6 +25,10 @@ opts = OptionParser.new do |o| o.on('-l','--link-checker', 'Check for dead links') do options[:link_checker] = true end + + o.on('-n','--navigation-test', 'Check for navigation test results') do + options[:navigation_test] = true + end o.separator "" o.on_tail('-h', '--help', 'display this help and exit') do @@ -63,4 +67,7 @@ else require 'main_web_functionality' end +if options[:navigation_test] + require 'NavigationTest' +end -- cgit v1.2.3