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

20 lines
353 B
Bash
Executable File

@test "skips clear" {
bake -b cache.Bakefile --clear-skips
}
@test "cache runs" {
run bake -b cache.Bakefile task
[[ $output != *Skipping* ]]
}
@test "cache skips" {
run bake -b cache.Bakefile task
[[ $output == *Skipping* ]]
}
@test "skip skips" {
run bake -b cache.Bakefile --no-deps task
[[ $output != *Skipping* ]]
}