Skip to content

test(app): Add tests for App.php #285

@usernane

Description

@usernane

File

App.php

Current Coverage

28.6% (77/269)

Scenarios to Cover

  • App initialization in different run environments (CLI, HTTP, test)
  • Config loading and access via App::getConfig()
  • DB connection registration and retrieval
  • Autoloader setup
  • Error handler registration per environment
  • App::getAppVersion() and related metadata methods
  • Uncovered bootstrap paths (remaining ~71%)

Notes

The main application class. Low coverage here means large parts of the bootstrap process are untested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTest coverage tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions