wp-cli / scaffold-command

Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
MIT License
165 stars 87 forks source link

Update scalffold from phpunit tests #302

Closed whoisnegrello closed 2 years ago

whoisnegrello commented 2 years ago

Change phpunit scaffold to:

  1. Fix phpunit warning: The attribute 'name' is required in testsuite but missing.
  2. Change default template to show a error test and a pass test.
  3. Remove example tests exclution to try the example tests.

It is a small collaboration but I hope it is useful.

danielbachhuber commented 2 years ago

Proceeding with https://github.com/wp-cli/wp-cli/issues/5594 for this repository. I've captured this PR to https://gist.github.com/danielbachhuber/e829bf5c26f96bc0c0038a7f238d05a5 in case this PR is auto-closed or broken in some way.