Skip to content

Commit fff9ffb

Browse files
author
Dias, Diego
committed
Refactor: Added readme instructions for trainees awareness
1 parent 7ffdf3b commit fff9ffb

File tree

1 file changed

+19
-0
lines changed
  • Sprint-3/1-implement-and-rewrite-tests

1 file changed

+19
-0
lines changed

Sprint-3/1-implement-and-rewrite-tests/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,22 @@ https://code.visualstudio.com/docs/editor/testing
4242

4343
> [!TIP]
4444
> You can always run a single test file by running `npm test path/to/test-file.test.js`.
45+
46+
## Automated Checks for This Exercise
47+
48+
For **this specific exercise only**, when you create a pull request with changes to files in `Sprint-3/1-implement-and-rewrite-tests/`, automated checks will run:
49+
50+
### What runs automatically:
51+
52+
1. **Inline Assertion Tests** - Verifies your inline assertions (from the `implement` directory) match your Jest tests
53+
2. **Jest Test Coverage** - Runs your Jest tests from `rewrite-tests-with-jest` and reports coverage
54+
55+
### How to view the results on your PR:
56+
57+
1. Open your pull request on GitHub
58+
2. Scroll to the bottom - look for the **Checks** section
59+
3. Find "Test Coverage Report"
60+
4. Click **Details** to see the full output
61+
5. A coverage report comment will also be posted on your PR
62+
63+
A ✅ green checkmark means all tests passed. A ❌ red X means something failed - click Details to see what went wrong.

0 commit comments

Comments
 (0)