@@ -19,18 +19,7 @@ Run tests for the DicePP project to validate implementation correctness.
1919
2020** Steps**
2121
22- 1 . ** Check Python environment**
23-
24- Verify Python is available:
25- ``` powershell
26- python --version
27- ```
28-
29- If Python is not available:
30- - Add CRITICAL issue: "Python not found"
31- - Recommendation: "Install Python 3.10+ and ensure it's in PATH"
32-
33- 2 . ** Check dependencies**
22+ 1 . ** Check dependencies**
3423
3524 Verify pytest is installed:
3625 ``` powershell
@@ -40,7 +29,7 @@ Run tests for the DicePP project to validate implementation correctness.
4029 If pytest is not installed:
4130 - Recommendation: "Run: uv pip install '.[ dev] '"
4231
43- 3 . ** Run All Tests**
32+ 2 . ** Run All Tests**
4433
4534 Execute pytest:
4635 ``` powershell
@@ -60,7 +49,7 @@ Run tests for the DicePP project to validate implementation correctness.
6049 - List failing tests
6150 - Recommendation: "Fix failing tests before continuing"
6251
63- 4 . ** Run Specific Module Tests**
52+ 3 . ** Run Specific Module Tests**
6453
6554 To test a specific module:
6655 ``` powershell
@@ -74,7 +63,7 @@ Run tests for the DicePP project to validate implementation correctness.
7463 uv run pytest tests/core/ -v
7564 ```
7665
77- 5 . ** Run Coverage Report**
66+ 4 . ** Run Coverage Report**
7867
7968 Execute pytest with coverage:
8069 ``` powershell
@@ -85,7 +74,7 @@ Run tests for the DicePP project to validate implementation correctness.
8574 - Report coverage percentage
8675 - List uncovered lines if below threshold
8776
88- 6 . ** Generate Test Report**
77+ 5 . ** Generate Test Report**
8978
9079 Create a summary report:
9180
@@ -136,4 +125,12 @@ uv run pytest tests/module/roll/test_karma.py -v
136125- All tests must pass (exit code 0)
137126- Coverage should be maintained or improved
138127
139- If tests fail, report specific failing tests and suggest fixes.
128+ If tests fail, report specific failing tests and suggest fixes.
129+
130+ ** Important Note**
131+
132+ 测试运行需要一定时间(约1分钟),请耐心等待测试完成后再查看结果。
133+
134+ 在 Trae IDE 中运行测试时,输出可能会以"实时滚动"的方式显示,只显示最新的一行内容。这是正常的输出行为,不代表内容被截断。请等待测试完全结束后再读取完整结果。
135+
136+ 如果需要保存完整输出用于后续分析,可以使用重定向
0 commit comments