2023-09-05 11:03:38 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2023-09-07 16:50:25 +00:00
|
|
|
setup(){
|
|
|
|
load "$PWD/tests/integration/helpers/common"
|
|
|
|
_common_setup
|
2023-09-05 11:03:38 +00:00
|
|
|
}
|
|
|
|
|
2023-09-07 16:50:25 +00:00
|
|
|
# bats test_tags=slow
|
|
|
|
@test "generate entire catalogue" {
|
2023-09-05 11:03:38 +00:00
|
|
|
run $ABRA catalogue generate
|
|
|
|
assert_success
|
|
|
|
}
|
|
|
|
|
2023-09-07 16:50:25 +00:00
|
|
|
# bats test_tags=slow
|
|
|
|
@test "generate only specific recipe" {
|
2023-09-05 11:03:38 +00:00
|
|
|
run $ABRA catalogue generate gitea
|
|
|
|
assert_success
|
|
|
|
}
|