Split tests into separate files, add secret tests

This commit is contained in:
3wc
2020-10-31 17:06:41 +02:00
parent 2bdfe8baa8
commit f8306b282d
3 changed files with 66 additions and 33 deletions

17
tests/01_environment.bats Normal file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bats
@test "docker is available" {
command -v docker
}
@test "abra is executable" {
./abra --help
}
@test "git is available" {
command -v git
}
@test "running in a container" {
ls /etc/alpine-release
}