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:
1 parent
03ed58600c
commit
7ed7202c67
5 files changed
+21
-16
No files matched your search
@@ -13,12 +13,17 @@ teardown() {
|
||||
global_teardown
|
||||
}
|
||||
|
||||
@test "(ps) herokuish" {
|
||||
run /bin/bash -c "dokku ps $TEST_APP | grep -q \"node web.js\""
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
}
|
||||
# @test "(ps) herokuish base" {
|
||||
# # CI support: 'Ah. I just spoke with our Docker expert --
|
||||
# # looks like docker exec is built to work with docker-under-libcontainer,
|
||||
# # but we're using docker-under-lxc. I don't have an estimated time for the fix, sorry
|
||||
# skip "circleci does not support docker exec at the moment."
|
||||
# deploy_app
|
||||
# run /bin/bash -c "dokku ps $TEST_APP | grep -q \"node web.js\""
|
||||
# echo "output: $output"
|
||||
# echo "status: $status"
|
||||
# assert_success
|
||||
# }
|
||||
|
||||
@test "(ps) herokuish" {
|
||||
deploy_app
|
||||
|
||||
Reference in new issue
Block a user