Files
bake/tests/cache.bats
T
2019-09-23 05:33:09 -04:00

20 lines
353 B
Bash

@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* ]]
}