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:
Jose Diaz-Gonzalez committed 2018-12-29 05:09:30 -05:00
1 parent 03ed58600c
commit 7ed7202c67
5 files changed
+21 -16

No files matched your search

+3 -3
View File
@@ -43,7 +43,7 @@ assert_error_log() {
assert_error_log ${TEST_APP}
}
@test "(nginx-vhosts) nginx:build-config (with SSL & unrelated domain)" {
@test "(nginx-vhosts) nginx:build-config (with SSL and unrelated domain)" {
setup_test_tls
add_domain "node-js-app.dokku.me"
add_domain "test.dokku.me"
@@ -62,7 +62,7 @@ assert_error_log() {
assert_ssl_domain "wildcard2.dokku.me"
}
@test "(nginx-vhosts) nginx:build-config (wildcard SSL & unrelated domain)" {
@test "(nginx-vhosts) nginx:build-config (wildcard SSL and unrelated domain)" {
destroy_app
TEST_APP="${TEST_APP}.example.com"
setup_test_tls wildcard
@@ -82,7 +82,7 @@ assert_error_log() {
assert_ssl_domain "www.test.app.dokku.me"
}
@test "(nginx-vhosts) nginx:build-config (wildcard SSL & custom nginx template)" {
@test "(nginx-vhosts) nginx:build-config (wildcard SSL and custom nginx template)" {
setup_test_tls wildcard
add_domain "wildcard1.dokku.me"
add_domain "wildcard2.dokku.me"