Acceptance testing in WP – let’s automate the visual checks and regression testing (EN)

Believe it or not, there’s no single developer that does not test her/his code.  Everyone does, all the time, maybe not efficiently.
Everyone makes an edit to her/his project code, reload the page, and check if the result is the expected one in visual and behavioral terms.
Automated acceptance testing would remove the error-prone and slow manual procedure to make the validation cycle faster and, ideally, automatic.
In this workshop, we’re creating a simple plugin and walk through the set up of wp-browser (a set of Codeception modules and extensions dedicated to WordPress), its first run, the first automated acceptance test, and a visual regression test.

You must have the following to attend the workshop:

  • a laptop to work;
  • one of the following working local development environments: VVV, MAMP, WAMP, or Local by Flywheel; you are being provided with guides and help for these, but, with some effort, other local development environments can work too;
  • good knowledge of PHP.

Per prenotare il tuo posto, compila il form. / To book your place, fill in the form.

Informazioni sullo svolgimento:
Numero di partecipanti massimo: 30
È necessario portare un laptop con installato e funzionante Composer ed uno di VVV/MAMP/WAMP/Local by Flywheel.
Il workshop richiede una conoscenza media di PHP.
Il workshop sarà in inglese, a meno che tutti i partecipanti non parlino italiano.

Speaker