Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.63 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.63 KB

wp-php-unit-testing-explained

Source code and exercises for the WP PHP Unit Testing Explained course

Running the tests

  • V1: composer run test -- --testsuite=byline-v1

  • V2: composer run test -- --testsuite=byline-v2

  • V3a: composer run test -- --testsuite=byline-v3a

  • V3b: composer run test -- --testsuite=byline-v3b

  • V3c: composer run test -- --testsuite=byline-v3c

  • V4a: composer run test -- --testsuite=byline-v4a

  • V4b: composer run test -- --testsuite=byline-v4b

  • V4c: composer run test -- --testsuite=byline-v4c

Exercises

  • Exercise: Using Assertions: composer run test -- --testsuite=exercise-assertions-solution

  • Exercise Solution: Using Assertions: composer run test -- --testsuite=exercise-assertions-solution

  • Exercise: Database fixtures: composer run test -- --testsuite=exercise-database-fixtures

  • Exercise Solution: Database fixtures: composer run test -- --testsuite=exercise-database-fixtures-solution

  • Exercise: Shared database fixtures 1: composer run test -- --testsuite=exercise-shared-database-fixtures-1

  • Exercise Solution: Database fixtures 1: composer run test -- --testsuite=exercise-shared-database-fixtures-1-solution

  • Exercise: Shared database fixtures 2: composer run test -- --testsuite=exercise-shared-database-fixtures-2

  • Exercise Solution: Database fixtures 2: composer run test -- --testsuite=exercise-shared-database-fixtures-2-solution

  • Exercise: Shared database fixtures 3: composer run test -- --testsuite=exercise-shared-database-fixtures-3

  • Exercise Solution: Database fixtures 3: composer run test -- --testsuite=exercise-shared-database-fixtures-3-solution