Skip to content

Commit bee04df

Browse files
derek73claude
andcommitted
docs: restore plan counts to 344 methods (688 collected)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 289bc02 commit bee04df

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/superpowers/plans/2026-06-14-pytest-test-reorg.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The source today is a single file `tests.py` (344 test methods across 13 classes
3333
| `FirstNameHandlingTests` | 267–330 | 11 | 18 passed, 4 xfailed | `pytest` (2 xfail) |
3434
| `HumanNameBruteForceTests` | 331–1135 | 117 | 234 passed ||
3535
| `HumanNameConjunctionTestCase` | 1136–1333 | 32 | 60 passed, 4 xfailed | `pytest` (2 xfail) |
36-
| `ConstantsCustomization``ConstantsCustomizationTests` | 1334–1435 | 12 | 24 passed | `Constants` (NOT top-level `CONSTANTS` — re-imported locally) |
36+
| `ConstantsCustomization``ConstantsCustomizationTests` | 1334–1435 | 11 | 22 passed | `Constants` (NOT top-level `CONSTANTS` — re-imported locally) |
3737
| `NicknameTestCase` | 1436–1608 | 18 | 34 passed, 2 xfailed | `pytest` (1 xfail) |
3838
| `PrefixesTestCase` | 1609–1723 | 18 | 36 passed ||
3939
| `SuffixesTestCase` | 1724–1856 | 21 | 40 passed, 2 xfailed | `pytest` (1 xfail) |
@@ -43,7 +43,7 @@ The source today is a single file `tests.py` (344 test methods across 13 classes
4343
| `InitialsTestCase` | 2294–2401 | 18 | 36 passed | — (CONSTANTS imported locally in methods) |
4444
| `TEST_NAMES` tuple | 2402–2578 ||| (data; lives in `test_variations.py`) |
4545
| `HumanNameVariationTests` | 2581–2608 | 1 | 2 passed | — (uses `TEST_NAMES` from same file) |
46-
| **TOTAL** | | **345** | **670 passed, 20 xfailed** (690 collected) | |
46+
| **TOTAL** | | **344** | **668 passed, 20 xfailed** (688 collected) | |
4747

4848
**`@unittest.expectedFailure` handling (applies to the move tasks below):** any class whose row shows an xfail count contains that many `@unittest.expectedFailure` decorators. In the moved file, (a) add `import pytest` to the header, and (b) replace each `@unittest.expectedFailure` line with `@pytest.mark.xfail`. Leave the decorated method body unchanged. These convert `unittest`'s expected-failure marker (which only works on `TestCase`) into pytest's equivalent.
4949

@@ -386,7 +386,7 @@ class ConstantsCustomizationTests(HumanNameTestBase):
386386
- [ ] **Step 3: Run**
387387

388388
Run: `uv run pytest tests/test_constants.py -q`
389-
Expected: `24 passed` (12 × 2). Note: drop `CONSTANTS` from the top-level import — `test_empty_attribute_default` re-imports it locally, so a top-level import is redundant (ruff F811). Also add `-> None` to `test_custom_regex_constant`, the one method in the file lacking a return annotation (ruff ANN201).
389+
Expected: `22 passed` (11 × 2). Note: drop `CONSTANTS` from the top-level import — `test_empty_attribute_default` re-imports it locally, so a top-level import is redundant (ruff F811).
390390

391391
- [ ] **Step 4: Lint and commit**
392392

@@ -738,7 +738,7 @@ Run: `git rm tests.py`
738738
- [ ] **Step 4: Run the entire suite**
739739

740740
Run: `uv run pytest -q`
741-
Expected: `670 passed, 20 xfailed` (335 passing methods × 2, plus 10 `xfail` methods × 2 = 690 collected). Zero failures, zero errors. With dill present (dev group), no skips.
741+
Expected: `668 passed, 20 xfailed` (334 passing methods × 2, plus 10 `xfail` methods × 2 = 688 collected). Zero failures, zero errors. With dill present (dev group), no skips.
742742

743743
- [ ] **Step 5: Run ruff and mypy across the repo**
744744

@@ -861,7 +861,7 @@ git commit -m "docs: update test instructions and CI for pytest"
861861

862862
## Final verification (after all tasks)
863863

864-
- [ ] `uv run pytest -q``670 passed, 20 xfailed` (690 collected, zero failures)
864+
- [ ] `uv run pytest -q``668 passed, 20 xfailed` (688 collected, zero failures)
865865
- [ ] `uv run ruff check` → clean
866866
- [ ] `uv run mypy` → clean
867867
- [ ] `uv run python -m nameparser "Dr. Juan Q. Xavier de la Vega III"` → prints parsed repr

0 commit comments

Comments
 (0)