diff options
author | Pjotr Prins | 2016-05-18 14:29:13 +0200 |
---|---|---|
committer | Pjotr Prins | 2016-05-18 14:29:13 +0200 |
commit | 4166a09225540f233ae81790edb56923ccfe64fe (patch) | |
tree | b1d516da4b106b67966e28b2815d8b032dd3c5ee /bin/test-website | |
parent | 04afa563e6d53fe2a91ac2e6eb4af2f2fa5d5c3b (diff) | |
parent | 25cea57dbbf8bf37108481dc83c2d536890b1a47 (diff) | |
download | genenetwork2-4166a09225540f233ae81790edb56923ccfe64fe.tar.gz |
Merge pull request #2 from Brainiarc7/patch-2
Added a new Navigation Test suite
Diffstat (limited to 'bin/test-website')
-rwxr-xr-x | bin/test-website | 7 |
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 |