mirror of
https://github.com/sstephenson/bats.git
synced 2026-02-25 09:18:10 +01:00
Log the full stack trace when a test fails
This commit is contained in:
6
test/fixtures/bats/failing_helper.bats
vendored
Normal file
6
test/fixtures/bats/failing_helper.bats
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
load "test_helper"
|
||||
|
||||
@test "failing helper function" {
|
||||
true
|
||||
failing_helper
|
||||
}
|
||||
4
test/fixtures/bats/test_helper.bash
vendored
4
test/fixtures/bats/test_helper.bash
vendored
@@ -1,3 +1,7 @@
|
||||
help_me() {
|
||||
true
|
||||
}
|
||||
|
||||
failing_helper() {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user