Title: WordPress &#8211; PHPunit test
Last modified: January 26, 2022

---

# WordPress – PHPunit test

 *  [erenygamal](https://wordpress.org/support/users/erenygamal/)
 * (@erenygamal)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-phpunit-test/)
 * Hello,
    i am using bedrock with wordpress latest version i am trying to make 
   unit test for each plugin Is there a way or a command to run all unit testing
   together however theme or plugins? as i am using the following command to run
   separately unit test for each plugin ->php vendor/phpunit/phpunit/phpunit –configuration
   =web/app/plugins/unit-test-plugin/phpunit.xml.dist
 * kindly note that when i run php vendor/phpunit/phpunit/phpunit only it returned
 * PHPUnit 7.5.20 by Sebastian Bergmann and contributors.
 * Usage: phpunit [options] UnitTest [UnitTest.php]
    phpunit [options] <directory
   >
    -  This topic was modified 4 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  [Javier Arce](https://wordpress.org/support/users/javiarce/)
 * (@javiarce)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-phpunit-test/#post-15310531)
 * Hi! I think the people in the [bedrock’s forum](https://discourse.roots.io/c/bedrock)
   will be able to help you with this specific question.

Viewing 1 replies (of 1 total)

The topic ‘WordPress – PHPunit test’ is closed to new replies.

## Tags

 * [phpunit](https://wordpress.org/support/topic-tag/phpunit/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Javier Arce](https://wordpress.org/support/users/javiarce/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/wordpress-phpunit-test/#post-15310531)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
