diff --git a/Bats-Evaluation-Process.md b/Bats-Evaluation-Process.md index 6ccb909..f30b0f4 100644 --- a/Bats-Evaluation-Process.md +++ b/Bats-Evaluation-Process.md @@ -1,4 +1,4 @@ -In order to better understand what you can and can't do outside of `test` blocks, it's important to know how Bats processes test files. Below is a walkthrough by Sam: +In order to better understand what you can and can't do outside of `@test` blocks and `setup` or `teardown` functions, it's important to know how Bats processes test files. Below is a walkthrough by Sam: 1. First, each test file is preprocessed. This essentially amounts to replacing lines like `@test "first test" {` with `test_first_test() { bats_begin_test "first test";`, i.e. turning each `@test` block into a test function.