Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steward use phpunit ^8.5.15 what is with phpunit 9.x #296

Open
nicokaiser79 opened this issue May 10, 2022 · 1 comment
Open

Steward use phpunit ^8.5.15 what is with phpunit 9.x #296

nicokaiser79 opened this issue May 10, 2022 · 1 comment
Milestone

Comments

@nicokaiser79
Copy link

I use cake php and i want to install steward for my test environment. But steward use phpunit 8.5. but i have installed phpunit 9.3 that i need it for other things.

log of my composer

Problem 1
- lmc/steward 3.0.x-dev is an alias of lmc/steward dev-master and thus requires it to be installed too.
- lmc/steward 3.0.x-dev is an alias of lmc/steward dev-main and thus requires it to be installed too.
- lmc/steward dev-master requires php ^7.1 -> your php version (8.1.2) does not satisfy that requirement.
- lmc/steward dev-main requires phpunit/phpunit ^8.5.15 -> found phpunit/phpunit[8.5.15, ..., 8.5.26] but it conflicts with your root composer.json require (^9.3).
- Root composer.json requires lmc/steward 3.0.x-dev -> satisfiable by lmc/steward[3.0.x-dev (alias of dev-master)].

@OndraM
Copy link
Member

OndraM commented Apr 14, 2023

Hi, phpunit 9.0 is not (yet) supported.

We suggest putting Steward into separate directory from your application, with custom composer.json. See README:

For most cases we recommend having functional tests in the same repository as your application but in a separate folder. We suggest putting them in a selenium-tests/ directory.

@OndraM OndraM added this to the 3.1 milestone Apr 14, 2023
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

No branches or pull requests

2 participants