You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
299 B
Fish
18 lines
299 B
Fish
10 years ago
|
function run_specs
|
||
|
# Run each describe function
|
||
|
for describe in (functions -n | grep describe_)
|
||
|
eval $describe
|
||
|
end
|
||
|
|
||
|
# Run before all block
|
||
|
eval "before_all"
|
||
|
|
||
|
# Run tests
|
||
|
for test in (functions -n | grep it_)
|
||
|
run_spec $test
|
||
|
end
|
||
|
|
||
|
# Run after all block
|
||
|
eval "after_all"
|
||
|
end
|