콘텐츠로 이동

unittest Result

Test Summary


Item Value
Execution ID 20261024_200154_089561
Pass FAIL
Latest 2026-10-24T20:01:54.089736+09:00
Duration 0.360909 seconds
Total 5
Passed 4
Failed 1
Errors 0
Skipped 0


Test envs Value
test_os windows
test_name local_01
test_environment local
test_request mcp


Test Functions

  • Unit TEST
    • PATH0: test_envs/tests/unittest/ct_framework/python
PATH Test Function Pass Duration (s)
0 test_environment_comment_contains_detected_runner_values PASS 0.001709
0 test_github_reporter_reuses_canonical_markdown PASS 0.096298
0 test_issue_comment_contains_summary_and_evidence FAIL 0.088887
0 test_pytest_comment_uses_test_cases_markdown_path PASS 0.086954
0 test_unittest_comment_uses_unittest_paths_without_llm PASS 0.087061

Failed Functions

test_issue_comment_contains_summary_and_evidence

Item Value
Status FAIL
self = <test_envs.tests.unittest.ct_framework.python.test_reporting.ReportingTests testMethod=test_issue_comment_contains_summary_and_evidence>

    def test_issue_comment_contains_summary_and_evidence(self) -> None:
        result = ResultRecord("CT-001", "FAIL", "timing", 1.25, metrics={"jitter": 0.03})
        with patch.dict("os.environ", {"TEST_REQUEST": "local_vscode"}):
            comment = render_comment(result, Analysis("Threshold exceeded", "timing", 0.9, "test"))
        self.assertIn("**Result: FAIL**", comment)
        self.assertIn("| Test envs | Value |", comment)
        self.assertIn("| test_environment | local |", comment)
>       self.assertIn("| test_request | local_vscode |", comment)
E       AssertionError: '| test_request | local_vscode |' not found in '## Test Result\n\n**Result: FAIL**\n\n### Test envs\n\n| Test envs | Value |\n|---|---|\n| test_os | windows |\n| test_name | local_01 |\n| test_environment | local |\n| test_request | mcp |\n\n### Test\n- ID: CT-001\n- Category: timing\n- Fixture ID: Not applicable\n- Default Fixture Mode: Not applicable\n- Test Path: Not applicable\n- Interface: None\n- Equipment: None\n- Duration: 1.250 seconds\n\n### Measurement\n- jitter: 0.03\n\n### Statistics\n- None\n\n### Warning Summary\n- None\n\n### Analysis\nThreshold exceeded\n\n- Classification: timing\n- Confidence: 0.90\n- Local LLM analyzer: test\n\n### Evidence\n- [Workflow run and artifacts](Available in the workflow run)\n- MkDocs source: `docs/tests/pytest/CT-001.md`\n- Markdown result: `test_reports/markdown/pytest/test_cases/CT-001/20261024_200153_733650_result.md`\n- Commit: `41ad1b4fbfe9a29aa2446566bda29c27ad0db618`\n- Branch: `main`\n- Runner: local\n- Execution ID: `20261024_200153_733650`\n'

test_envs\tests\unittest\ct_framework\python\test_reporting.py:38: AssertionError


Test Source

Item Value
Commit 41ad1b4fbfe9a29aa2446566bda29c27ad0db618
Branch main

Logs

Item Value
Result log 20261024_200154_089561_result.log
Result json 20261024_200154_089561_result.json