You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, wp scaffold theme-tests sets up a PHPUnit framework for themes. Additionally, it would be great if there were an options for setting up JS tests.
Background: As part of WCUS 2018 contributor day, a team of us started working on creating a standardized setup for themes to use to add accessibility testing to their projects. You can see a proof of concept example of a setup, on @ryelle's fork of Twenty Nineteen, using Jest for the test suite and axe-puppeteer to run a11y checks inside assertions.
Once a lightweight scaffold is nailed down, it would be nice to add an option for theme devs to easily apply these best practices to their themes using the scaffold theme-tests command.
The text was updated successfully, but these errors were encountered:
Currently,
wp scaffold theme-tests
sets up a PHPUnit framework for themes. Additionally, it would be great if there were an options for setting up JS tests.Background: As part of WCUS 2018 contributor day, a team of us started working on creating a standardized setup for themes to use to add accessibility testing to their projects. You can see a proof of concept example of a setup, on @ryelle's fork of Twenty Nineteen, using Jest for the test suite and
axe-puppeteer
to run a11y checks inside assertions.Once a lightweight scaffold is nailed down, it would be nice to add an option for theme devs to easily apply these best practices to their themes using the
scaffold theme-tests
command.The text was updated successfully, but these errors were encountered: