Installing test cache \
Docker compose run –rm wordpress_phpunit \/app\/bin\/install WP tests SH wordpress_test root example MySQL \
Echo-e$(status\u message \
Then, one is required to start the server. I call it WP start. For this, no bash script is required. Only: one is required to create docking station -d and then run the test. Same as the last displayed command. WP tests is a composer script. Execute docking station writing –rm wordpress_phpunit phpunit is now composer. The JSON script is as follows: The{
\
\
\
\
\
\
\
\
\
}If you want to learn more about the unit test of Wordcamp EU 2018 seminar, please visit the seminar of Thorsten frommen, Carl Alexander and Giuseppe mazzapca on Wordcamp Europe this year. All three of them are APX word press developers. I highly recommend this seminar to anyone. I wish I could do it. Otherwise, the video is WordPress. Hope it can be uploaded to the TV. It must be. For more information about this workshop, see here. Further, the next installment of the day series will describe how to write integration tests using the word press PHP test suite. We will discuss the integration to be tested, individual maintenance of unit tests, simulated use, word press and database assumptions that can and cannot be done when writing these tests.