← Back to issue list

test(fixtures): always enter debug mode for tests

View original Github issue

Metadata

Project
craft-application
Number
#644
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #644 as commit c634603f, making test fixtures enter debug mode so run() exceptions surface instead of InternalErrors.

Resolution: closed resolved

Reason: PR #644 was merged and landed as commit c634603f. The change keeps Application in debug mode during tests, causing run() exceptions to surface directly rather than being wrapped as InternalErrors.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This should make testing the Application more straightforward, as we're always in debug mode when we run tests (so `run()` raises exceptions that would otherwise become InternalErrors). Already caught a test issue :-) - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #644 as commit c634603f, making test fixtures enter debug mode so run() exceptions surface instead of InternalErrors.
stealth/space-bunny-alpha — closed resolved Merged PR #644 as commit c634603f, making test fixtures always enable debug mode so Application.run() exposes underlying exceptions instead of InternalErrors.
stealth/space-bunny-alpha — closed resolved Merged test-fixture change to keep Application in debug mode, exposing run() exceptions instead of masking them as InternalErrors; approved by two reviewers.
qwen/qwen3.6-35b-a3b — — Merged changes to test fixtures that enforce debug mode during testing. This ensures exceptions propagate instead of being wrapped as InternalErrors, streamlining test execution. Approved by two reviewers, passed CI, and modified five files.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.