wp-media / wp-media/phpunit

Improve the library to include classes that could be common to all plugins.

Open
#30 0 comments 0 reactions 1 assignee View on GitHub

@hellofromahmed is already working on this.

Since Sep 11, 2024.

Dominant language
PHP
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Currently just adding the library is not enough to start testing.

Describe the solution you'd like
A library that includes everything which is needed to start testing and also reduce the need for maintenance on plugins.

For that we will have to pass each traits which are inside wp rocket and not specific to it.

Then each fixture which is from the core should then be moved to the library.

Finally we need to make sure that each library used for test is included within phpunit.
To that we can use phpunit-wp-hooks to facilitate hooks usage.

Finally we need to enhance the read me from the library or a second on how to create a testing env on launchpad documentation.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.