[wp-trac] [WordPress Trac] #52613: Add testing setup instructions on wordpress-develop repository readme
WordPress Trac
noreply at wordpress.org
Mon Feb 22 21:13:59 UTC 2021
#52613: Add testing setup instructions on wordpress-develop repository readme
------------------------------+-----------------------------
Reporter: gwwar | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: minor | Keywords:
Focuses: docs |
------------------------------+-----------------------------
While setting up my environment, I was surprised by running unit tests and
seeing an error about a missing config file.
{{{
Error: wp-tests-config.php is missing! Please use wp-tests-config-
sample.php to create a config file.
child_process.js:655
throw err;
}}}
While I do expect configuration setup when trying to run tests against a
different local instance, seeing this error when trying to run this
against the docker env made me question if I was doing something wrong.
I have a pull request that makes some suggested changes in the readme to
help guide others:
https://github.com/WordPress/wordpress-develop/pull/1033
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52613>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list