mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-25 09:18:10 +01:00
Add skipped count tests in the summary
This also update the behaviour of the summary, now it only display the number of failures, and skipped tests also, if the numbers are greater than zero.
This commit is contained in:
committed by
Ross Duggan
parent
2c6fed1838
commit
3be82466a7
7
test/fixtures/bats/passing_and_failing.bats
vendored
Normal file
7
test/fixtures/bats/passing_and_failing.bats
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@test "a passing test" {
|
||||
true
|
||||
}
|
||||
|
||||
@test "a failing test" {
|
||||
false
|
||||
}
|
||||
7
test/fixtures/bats/passing_and_skipping.bats
vendored
Normal file
7
test/fixtures/bats/passing_and_skipping.bats
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@test "a passing test" {
|
||||
true
|
||||
}
|
||||
|
||||
@test "a skipping test" {
|
||||
skip
|
||||
}
|
||||
11
test/fixtures/bats/passing_failing_and_skipping.bats
vendored
Normal file
11
test/fixtures/bats/passing_failing_and_skipping.bats
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@test "a passing test" {
|
||||
true
|
||||
}
|
||||
|
||||
@test "a skipping test" {
|
||||
skip
|
||||
}
|
||||
|
||||
@test "a failing test" {
|
||||
false
|
||||
}
|
||||
Reference in New Issue
Block a user