Skip to content

Template inspector test fail stack trace not shown #6

@bnbong

Description

@bnbong

Request bug fix

Bug Summary

Template inspector test fail stack trace is not shown

Bug status

When inspection of template which fails testcases, the detail is not show at output.

Program Operating Environment

  • localhost (MacOS M1)

Reference (Optional)

pdm run python scripts/inspect-templates.py --templates "fastapi-empty"
📋 Found 1 templates to inspect: fastapi-empty
============================================================
🔍 Inspecting template: fastapi-empty
   Path: /Users/bnbong/Documents/WorkstationFiles/programming/FastAPI-kit/src/fastapi_fastkit/fastapi_project_template/fastapi-empty
╭────────────────────────────────────────────────────────── Success ──────────────────────────────────────────────────────────╮
│ ✨ Virtual environment created successfully                                                                                 │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭────────────────────────────────────────────────────────── Success ──────────────────────────────────────────────────────────╮
│ ✨ Dependencies installed successfully                                                                                      │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────── Error ───────────────────────────────────────────────────────────╮
│ ❌ Template                                                                                                                 │
│ /Users/bnbong/Documents/WorkstationFiles/programming/FastAPI-kit/src/fastapi_fastkit/fastapi_project_template/fastapi-empty │
│ validation failed                                                                                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─────────────────────────────────────────────────────────── Error ───────────────────────────────────────────────────────────╮
│ ❌   - Tests failed:                                                                                                        │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
❌ fastapi-empty: FAILED
   ERROR: Tests failed: 
----------------------------------------
============================================================
📊 INSPECTION SUMMARY
   Total templates: 1
   ✅ Passed: 0
   ❌ Failed: 1
   Failed templates: fastapi-empty
📄 Detailed results saved to: template_inspection_results.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions