Skip to content

test(config): Improve test coverage for Config/Controller.php and CLIUtils.php #294

@usernane

Description

@usernane

File

Config/Controller.php, Cli/CLIUtils.php

Current Coverage

Config/Controller.php: 18.4% (9/49), Cli/CLIUtils.php: 22.0% (13/59)

Scenarios to Cover

  • Controller: reading and writing all config properties
  • Controller: switching between JSON and class-based drivers
  • Controller: handling missing or corrupt config
  • CLIUtils: all helper methods used by CLI commands
  • CLIUtils: input prompting and validation helpers
  • CLIUtils: error output formatting

Notes

Controller is used by every config read/write operation. CLIUtils is shared across all CLI commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTest coverage tasks

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions