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!
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 usebuild
.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!