Skip to content

AliceArmstrong/testing-with-phpunit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Alice ArmstrongAlice Armstrong
Alice Armstrong
and
Alice Armstrong
Apr 6, 2020
414c3d5 · Apr 6, 2020

History

6 Commits
Apr 6, 2020
Apr 6, 2020
Apr 6, 2020
Apr 2, 2020
Apr 3, 2020
Apr 3, 2020
Apr 2, 2020

Repository files navigation

testing-with-phpunit

WIP repo for teaching people how to test. This series of workshops is being created with Laravel in mind, and thus contains some Laravel functionality, but the majority of it is purely PHPUnit.

  1. Intro to testing
  2. Doubles: Mocks, stubs and prophecy
  3. Advanced techniques
  4. Refresher

To add PHPUnit into your own project, start with these steps: https://phpunit.de/getting-started-with-phpunit.html

Quick-start for PHP 7.3 or later: composer require --dev phpunit/phpunit ^9

About

WIP repo for teaching people how to test with PHPUnit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages