generator-gadget icon indicating copy to clipboard operation
generator-gadget copied to clipboard

Add a project-specific phpunit.xml file

Open jhedstrom opened this issue 8 years ago • 3 comments

Having a project-specific phpunit.xml file will allow developers to more quickly and readily write and run tests for their projects.

We can copy core's phpunit.xml.dist, and populate the configuration values to be project-specific.

jhedstrom avatar Aug 04 '17 16:08 jhedstrom

Is there value in directly referencing core's config by default?

grayside avatar Aug 04 '17 17:08 grayside

There is, because it sets up the appropriate namespaces, classes, etc that phpunit searches for.

jhedstrom avatar Aug 04 '17 17:08 jhedstrom

That being said, I don't think we need to copy it each time, but have it be a template that lives in this project...

jhedstrom avatar Aug 04 '17 17:08 jhedstrom