1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Thu, 22 Jan 2026 11:14:20 +0100
Subject: skip for now tests relying on mtest script shipped with the library
Last-Update: 2024-09-25
Forwarded: not-needed
---
spec/maxitest_spec.rb | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/spec/maxitest_spec.rb b/spec/maxitest_spec.rb
index 1d048e9..4a83843 100644
--- a/spec/maxitest_spec.rb
+++ b/spec/maxitest_spec.rb
@@ -211,13 +211,13 @@ describe Maxitest do
run_cmd("ruby spec/cases/line.rb", fail: true).should include "#{focus}\n#{expected_command}"
end
- it "can run with line numbers" do
+ xit "can run with line numbers" do
result = run_cmd(expected_command, fail: true)
result.should include("1 runs, 1 assertions, 1 failures, 0 errors, 0 skips")
result.should_not include(focus) # ran 1 line, no need to reprint
end
- it "can describe with line numbers" do
+ xit "can describe with line numbers" do
result = run_cmd("mtest spec/cases/line.rb:12")
result.should include("2 runs, 2 assertions, 0 failures, 0 errors, 0 skips")
end
@@ -270,25 +270,25 @@ describe Maxitest do
end
describe "mtest" do
- it "shows version" do
+ xit "shows version" do
ignore_ruby4_warnings(run_cmd("mtest -v")).should == Maxitest::VERSION
ignore_ruby4_warnings(run_cmd("mtest --version")).should == Maxitest::VERSION
end
- it "shows help" do
+ xit "shows help" do
run_cmd("mtest -h").should include "Usage:"
run_cmd("mtest --help").should include "Usage:"
end
- it "runs a single file" do
+ xit "runs a single file" do
run_cmd("mtest spec/cases/mtest/a_test.rb").should include "1 runs, 1 assertions, 0 failures, 0 errors, 0 skips"
end
- it "runs a folder" do
+ xit "runs a folder" do
run_cmd("mtest spec/cases/mtest").should include "2 runs, 2 assertions, 0 failures, 0 errors, 0 skips"
end
- it "runs multiple files" do
+ xit "runs multiple files" do
run_cmd("mtest spec/cases/mtest/a_test.rb spec/cases/mtest/c.rb").should include "2 runs, 2 assertions, 0 failures, 0 errors, 0 skips"
end
end
|