I thought you'd said you'd written the tests!?

18 May 2023, 1:30 am

Drupal tests for all those developers who thought about or were told to write tests, but never got around to it. Drupal testing with phpunit now includes browser testing, and if you are brave, also javascript tests. This presentation covers all the steps involved in setting up tests for your development environment for a website with reasonably complex access rules and then running those tests as a foundation to building on github using circleci.
1. creating phpunit.xml
2. writing and debugging tests involving multiple modules and a site build
3. creating schema.yml
4. writing browser tests and using chromedriver
5. viewing browser_output and debugging tests
6. setting up browser tests in circleci
This presentation showcases an actual project

Other Sessions

Call for Support