This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/test.bats
2020-10-26 18:25:40 +01:00

19 lines
367 B
Bash

#!/usr/bin/env bats
@test "docker is available" {
command -v docker
}
@test "abra is executable" {
./abra --help
}
@test "abra server add/rm works" {
./abra server add swarm.test.com
docker context ls | grep swarm.test.com
./abra server rm swarm.test.com
./abra server add swarm.test.com foobar 12345
./abra server rm swarm.test.com
}