Skip to content

ParamsLoader references path of extra configuration files not resolved by their absolute path #6829

@garvinhicking

Description

@garvinhicking

This is an issue to acommodate my PR, so that people will not report this without noticing.

With #6767 the ParamsLoader was streamlined, but when previously $paramsFile was passed to the loader methods, now only $paramStorage is passed, which misses getting converted to an absolute path via codecept_absolute_path().

This bug causes missing file resolving, because software like TYPO3 for example executes tests from the repo directory typo3/sysext/core/Tests/codeception.yml and uses:

params:

  • parameters.yml
  • env.yml

and expects that the file is found next to the codeception.yml file in the same directory, and thus a I would
classify it as an unwanted breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions