simplify test structure and add bin stubs
This commit is contained in:
29
tests/service.bats
Normal file
29
tests/service.bats
Normal file
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
load test_helper
|
||||
|
||||
@test "(service) dokku" {
|
||||
dokku $SERVICE:create l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:info l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:stop l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:stop l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:expose l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:restart l
|
||||
assert_success
|
||||
|
||||
dokku $SERVICE:info l
|
||||
assert_success
|
||||
|
||||
dokku --force $SERVICE:destroy l
|
||||
assert_success
|
||||
}
|
||||
Reference in New Issue
Block a user