Skip to content

Commit 92aedca

Browse files
Mention that concept exercise tests should be stand alone (#922)
1 parent 3083171 commit 92aedca

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/pr-commenter.yml

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ comment:
6060
- **Concept exercise tests changed**
6161
- ⚪️ Are all tests _un-skipped_?
6262
- 🔢 Are all tests annotated with `@tag task_id`?
63+
- 🐈 Can all tests be understood by reading the test's block only (e.g. no module attributes, no setup functions)?
6364
6465
- id: concept-changed
6566
files:

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ Please keep the following in mind:
7171
7272
- No tests should be skipped for concept exercises.
7373
74+
- For concept exercises, each test block should be understandable without having to reference anything outside the test block, e.g. no module attributes, no setup functions. This is because the platform doesn't show the test files for concept exercises in the web editor. Only the single test's block is shown by the Test Runner if the test failed.
75+
7476
- `.meta/tests.toml` files are generated and updated by `configlet`.
7577
7678
```shell

0 commit comments

Comments
 (0)