feat: split out test files and execute them manually

This breaks the old grouping mechanism, but honestly that was a weird way of doing it.
This commit is contained in:
Jose Diaz-Gonzalez
2020-06-20 13:22:47 -04:00
parent fb7bac4652
commit 5fd04001d8
39 changed files with 82 additions and 73 deletions

28
tests/unit/version.bats Normal file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env bats
load test_helper
setup() {
global_setup
}
teardown() {
global_teardown
}
@test "(version) version, -v, --version" {
run /bin/bash -c "dokku version"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "dokku -v"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "dokku --version"
echo "output: $output"
echo "status: $status"
assert_success
}