Files
bake/tests/cache.bats
T
2019-09-23 07:53:24 -04:00

23 lines
333 B
Bash
Executable File

#!/usr/bin/env bats
export BAKEFILE=cache.Bakefile
@test "skips clear" {
bake --clear-skips
}
@test "cache runs" {
run bake task
[[ $output != *Skipping* ]]
}
@test "cache skips" {
run bake task
[[ $output == *Skipping* ]]
}
@test "skip skips" {
run bake --no-deps task
[[ $output != *Skipping* ]]
}