FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Simplify Lib classes by TavoNiievez · Pull Request #6767 · Codeception/Codeception · GitHub

Simplify Lib classes - #6767

Merged
TavoNiievez merged 1 commit into
Codeception:mainfrom
TavoNiievez:5.2_lib
Nov 10, 2024
Merged

Simplify Lib classes#6767
TavoNiievez merged 1 commit into
Codeception:mainfrom
TavoNiievez:5.2_lib

Conversation

Copy link
Copy Markdown
Member

300 additions & 419 deletions.

TavoNiievez requested a review from Naktibalda June 30, 2024 19:27

Copy link
Copy Markdown
Member

Wow, that's nice!

SamMousa commented Sep 11, 2024
edited
Loading

Copy link
Copy Markdown
Collaborator
  • Trusted contributor
  • Changes look reasonable
  • Tests pass

I'd say just merge this!

Copy link
Copy Markdown
Collaborator

@TavoNiievez what's your confidence level on this? Can I go ahead and merge this or do you feel there's specific things that need an extra good look?

Copy link
Copy Markdown
Member Author

@SamMousa Well, I had gotten used to Naktibalda checking me this kind of PR where I change many things at once, since he is (or was?) who had a more general knowledge about what is susceptible to generate problems if changed, even if the tests are going OK.

If I had to answer your question I would say 85% sure that all changes were applied safely.

Copy link
Copy Markdown
Collaborator

I'm gonna defer to him, and gonna ping him hoping he'll give the okay then! @Naktibalda you up for reviewing this?

Copy link
Copy Markdown
Member Author

I rechecked the changes I introduced in this PR and I think it is ready.

I'm going to continue with another folder so I'm going to go ahead with this.

TavoNiievez merged commit fc707f5 into Codeception:main Nov 10, 2024
garvinhicking added a commit to garvinhicking/Codeception that referenced this pull request Feb 17, 2025
This is a regression bugfix for release 5.2.0.

With Codeception#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 patch restores utilizing `$paramsFile` and also uses that to emit warnings when a file cannot be loaded.

This bug caused 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 breaking change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL