Skip to content

Commit b1293c6

Browse files
committed
update test docs
1 parent 70c911c commit b1293c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ uses the naming convention of `sp_name.Tests.sql`. These should mostly adhere to
1919

2020
### Pester tests
2121

22+
All Pester tests are executed by a parent script (`appveyor\run_pester_tests.ps1`) that starts SQLCover to track the
23+
code coverage levels.
24+
2225
All of a stored proc's unit tests are run by a single corresponding Pester script, similarly
2326
named `sp_name.Tests.ps1`, which:
2427

@@ -31,6 +34,8 @@ at the expense of obfuscating more detailed output (i.e. one failed test among 2
3134

3235
The output is printed in each [Appveyor](https://ci.appveyor.com/project/LowlyDBA/dba-multitool) job if a failure needs to be inspected.
3336

37+
After all tests are completed, the code coverage generated gets uploaded to CodeCov for tracking.
38+
3439
### Appveyor
3540

3641
Each Pester test is then run against each configuration defined in `\appveyor\appveyor.yml` in order

0 commit comments

Comments
 (0)