7 au 9 mars, 2018
Hôtel Bonaventure

Automated Tests with PHP

Duration: 2 days.
Date: March 5-6, 2018.

Everyone tells you that you need to test. You know the theory, but you don't know where to begin. What to test? What cases to write? PHPUnit is a testing framework for PHP that offers many ways to automate testing. Through realistic and pragmatic examples, this presentation will take you away from echo or var_dump and ease you into the testing business.
This hands-on training will cover the following topics:
  • Manual vs automated tests.
  • Writing and executing unit tests.
  • The three steps towards TDD.
  • Mocking.
  • Testing controllers.
  • Analyzing HTML output.
  • Testing forms and file uploads.
  • Testing REST APIs.
  • Testing in the browser.
  • Creating realistic scenarios.
  • Organizing the test suite.
  • Metrics and code coverage.
  • Continuous Integration.
  • Code review and quality assurance processes.
  • Selling tests to your superior.

Anna Filina

Filina Consulting

Anna has been a web developer since 1997. In her long consulting career, she developed an expertise in refactoring very old applications to be modern and testable. She is passionate about sharing her skills with fellow developers through her blog, YouTube channel, conferences and various articles. Anna also has an eye for technical debt, for which she then devises strategies that save companies a lot of money.

Read More

Montréal 2018 sponsored by