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

Improve docs on phpunit version #205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pjrobertson
Copy link

@pjrobertson pjrobertson commented Apr 21, 2024

I noticed that the developer docs still link to phpunit5.7, which is very old. I changed to reference phpunit 9+

I guess all this could perhaps be removed to just say "use composer update" ??

Edit: It would also be nice to know how to run the phpunit tests on the gitpod servers. I tried and it didn't seem to work. I also couldn't get it working locally, even after watching https://www.youtube.com/watch?v=fqnT3kaDaW4

Copy link
Sponsor Member

@RCheesley RCheesley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, can you please use link macros for the URLs? I've made a start moving this over to Read the Docs but it's quite a lengthy process so we're stuck with Grav for now.

@@ -317,7 +317,9 @@ Mautic uses [PHPUnit][php-unit] and [Selenium][selenium] as the suite of testing

#### PHPUnit

Before executing unit tests, copy the `.env.dist` file to `.env` then update to reflect your local environment configuration.
**PHPUnit version:** Mautic 4.x requires [PHPUnit v5.7](https://phpunit.de/manual/5.7/en/installation.html), and Mautic 5.x requires [PHPUnit v9+](https://phpunit.de/announcements/phpunit-9.html). Make sure to install the right version of PHPUnit for the version of Mautic you are testing.
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please make these into link macros, as used in the rest of the doc and listed below at the bottom of the page? Thanks!

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.

None yet

2 participants