Split tests into separate files, add secret tests
This commit is contained in:
17
tests/01_environment.bats
Normal file
17
tests/01_environment.bats
Normal 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
|
||||
}
|
Reference in New Issue
Block a user