tests: switch to bats-core
This switches from the older, unmaintained version of bats to one that _is_ maintained. In particular, this fork of the community version - bats-core/bats-core - adds junit timing support, which can be used to track down slow tests. Once the bats-core/bats-core repository merges junit support, we will switch back to upstream. Note that tests on OS X will still run using a version that _does not_ have junit timing support.
This commit is contained in:
@@ -41,14 +41,14 @@ teardown() {
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(certs) certs:add < tar" {
|
||||
@test "(certs) certs:add tar:in" {
|
||||
run /bin/bash -c "dokku certs:add $TEST_APP < $BATS_TEST_DIRNAME/server_ssl.tar"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(certs) certs:add < tar should ignore OSX hidden files" {
|
||||
@test "(certs) certs:add tar:in should ignore OSX hidden files" {
|
||||
run /bin/bash -c "dokku certs:add $TEST_APP < $BATS_TEST_DIRNAME/osx_ssl_tarred.tar"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
|
||||
Reference in New Issue
Block a user