about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDennis E. Mungai2016-05-18 02:24:10 +0300
committerDennis E. Mungai2016-05-18 02:24:10 +0300
commit25cea57dbbf8bf37108481dc83c2d536890b1a47 (patch)
treeb1d516da4b106b67966e28b2815d8b032dd3c5ee
parent04afa563e6d53fe2a91ac2e6eb4af2f2fa5d5c3b (diff)
downloadgenenetwork2-25cea57dbbf8bf37108481dc83c2d536890b1a47.tar.gz
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.
-rwxr-xr-xbin/test-website7
1 files changed, 7 insertions, 0 deletions
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