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

[CLEANUP] Add info on running PHPUnit tests locally for this repository #305

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

Conversation

samtuke
Copy link
Collaborator

@samtuke samtuke commented Apr 19, 2019

Summary

Add documentation to the README.md file on how to install necessary composer packages for running unit tests for this repository locally, and where to find commands to run for PHPUnit test suites.

@samtuke samtuke requested a review from oliverklee April 19, 2019 19:31
first installed for this repository. If you installed `core` using the
`base-distribution` package, then you must install the composer packages
separately. To do so, change to the base directory of `core` and run
`composer install`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't. Developing the core package if it is installed as a dependency of the base-distribution package is a very bad idea as a composer update will overwrite any changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

The core package should only be changed if it is installed stand-alone, not if it is installed as a dependency.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm perfectly fine with having documentation for running the tests. The documentation should not encourage people to modify dependencies, though (and maybe warn people to not do this).

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