describe MyClass do
it "one" do
false.should eq(false)
end
it "two" do
false.should eq(true)
end
it "three" do
false.should eq(false)
end
end
crystal spec --fail-fast
.F
I would expect
crystal spec
.F
Failures:
1) MyClass two
Failure/Error: false.should eq(true)
Expected: true
got: false
# spec/my_class_spec.cr:11
Finished in 108 microseconds
2 examples, 1 failures, 0 errors, 0 pending
Failed examples:
crystal spec spec/my_class_spec.cr:10 # MyClass two
I guess --fail-fast should also print that not all specs were run. Maybe by adding 1 skipped to the line with counts.
All the new spec filtering options should increment skipped too.
I've created a new issue for tracking skipped count: #8403
This issue should focus on fixing spec output for --fail-fast.
This caught me out as well since it is a change between 0.30.1 and 0.31.1 that is undocumented I believe.
Most helpful comment
I guess
--fail-fastshould also print that not all specs were run. Maybe by adding1 skippedto the line with counts.