Chassis / core_dev

A Chassis extension for WordPress Core development.
2 stars 1 forks source link

Always use src/ directory when running tests #42

Closed kadamwhite closed 5 years ago

kadamwhite commented 5 years ago

The template here is based on the configuration from the tester extension, where we would usually want to be testing plugin or theme code rather than WordPress core. This extension is designed solely for testing WordPress core, and in that regard it makes more sense to always run tests against the src/ directory: this is where you are going to be making your changes, and it can save a time-consuming rebuild step not to have to remember to set a constant if you don't want to use build.

With the number of tickets I've nearly objected to because I thought their tests were failing when I just hadn't remembered to rebuild, this should be a definite improvement!