Skip to content

Commit 9a74bc3

Browse files
authored
docs: add debug info (#55)
1 parent 62e2869 commit 9a74bc3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/TESTS.md

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ This command initializes SQLite with an empty database, runs the tests specified
1414

1515
The test results will be displayed in the console as a table, showing the description of each test, its status (e.g., "pass"), and a message if the status is "fail."
1616

17+
## Debugging
18+
19+
You can use `SELECT` statements for debugging.
20+
The output will be forwarded to `user_output.md` and shown in the web-editor if tests fail.
21+
1722
## Execution Details
1823

1924
The test file (`${slug}_test.sql`) is a pretty complex script.

exercises/shared/.docs/tests.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ Navigate to the directory containing the appropriate `${slug}-test.sql` file, wh
66
sqlite3 -bail < ${slug}-test.sql
77
```
88

9+
You can use `SELECT` statements for debugging.
10+
The output will be forwarded to `user_output.md` and shown in the web-editor if tests fail.
11+
912
You can find more information in the [sqlite track docs about testing](https://exercism.org/docs/tracks/sqlite/tests).

0 commit comments

Comments
 (0)