When running bats system tests with version Bats 1.2.0-dev all the tests are skipped.
Output:
$ bats tests/system/basic.bats
bats: ~/msim/tests/system/common.bash.bash does not exist
bats: ~/msim/tests/system/common.bash.bash does not exist
bats: ~/msim/tests/system/common.bash.bash does not exist
bats: ~/msim/tests/system/common.bash.bash does not exist
bats: ~/msim/tests/system/common.bash.bash does not exist
5 tests, 0 failures, 5 not run
I think this problem is on line 3 of tests/system/basic.bats: load "common.bash".
It seems bats adds an extra .bash at the end of the filename.
Removing the .bash from the load fixes this problem for me.
(changing the line to load "common")
When running bats system tests with version
Bats 1.2.0-dev
all the tests are skipped.Output:
I think this problem is on line 3 of
tests/system/basic.bats
:load "common.bash"
. It seems bats adds an extra.bash
at the end of the filename.Removing the
.bash
from the load fixes this problem for me. (changing the line toload "common"
)