Bläddra i källkod

More attempts to get travis passing

George S. Baugh 10 år sedan
förälder
incheckning
ce1202de75
2 ändrade filer med 5 tillägg och 5 borttagningar
  1. 3 3
      t/testrail-cases.t
  2. 2 2
      t/testrail-tests.t

+ 3 - 3
t/testrail-cases.t

@@ -4,18 +4,18 @@ use warnings;
 use Test::More "tests" => 6;
 
 #check plan mode
-my @args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t/ --mock --test --extension .test});
+my @args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t --mock --test --extension ".test"});
 my $out = `@args`;
 is($? >> 8, 0, "Exit code OK running add, update, orphans");
 chomp $out;
 like($out,qr/fake\.test/,"Shows existing tests by default");
 
-@args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t/ --mock  -o --extension .test});
+@args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t --mock  -o --extension ".test"});
 $out = `@args`;
 chomp $out;
 like($out,qr/nothere\.test/,"Shows orphan tests");
 
-@args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t/ --mock  -m --extension .test});
+@args = ($^X,qw{bin/testrail-cases -j "TestProject" -t "HAMBURGER-IZE HUMANITY" -d t --mock  -m --extension ".test"});
 $out = `@args`;
 chomp $out;
 like($out,qr/t\/skipall\.test/,"Shows missing tests");

+ 2 - 2
t/testrail-tests.t

@@ -85,7 +85,7 @@ chomp $out;
 like($out,qr/\nskipall\.test$/,"Gets test correctly in no plan mode, no-match");
 
 #Verify no-match returns non path
-@args = ($^X,qw{bin/testrail-tests --apiurl http://testrail.local --user "test@fake.fake" --password "fake" -j TestProject -r "TestingSuite" --orphans t/ --mock});
+@args = ($^X,qw{bin/testrail-tests --apiurl http://testrail.local --user "test@fake.fake" --password "fake" -j TestProject -r "TestingSuite" --orphans t --mock});
 $out = `@args`;
 is($? >> 8, 0, "Exit code OK running no plan mode, no recurse");
 chomp $out;
@@ -98,6 +98,6 @@ is($? >> 8, 0, "Exit code OK asking for help");
 like($out,qr/encoding of arguments/i,"Help output OK");
 
 #Verify no-match and match are mutually exclusive
-@args = ($^X,qw{bin/testrail-tests --no-match t/ --match t/qa --apiurl http://testrail.local --user "test@fake.fake" --password "fake" -j TestProject -r "TestingSuite" --mock});
+@args = ($^X,qw{bin/testrail-tests --no-match t --match t/qa --apiurl http://testrail.local --user "test@fake.fake" --password "fake" -j TestProject -r "TestingSuite" --mock});
 $out = `@args`;
 isnt($? >> 8, 0, "Exit code not OK asking for mutually exclusive match options");