PHPUnit: Testing with a Bite
28m 8s
English
Paid
Course description
It's Friday night... it's stormy... the office is empty... and you're deploying fresh code to production. Suddenly, an alarm! What!? The fences are down!? The dinosaurs are escaping! Somehow, your beautiful code contained a bug! And as the raptors surround you, one thought keeps coming back: if only we had written tests.
Read more about the course
In this tutorial, we're going to jump over the hurdle of learning how to test so you can save the day!
- Basic unit testing
- Test-Driven-Development: how to do it, when to do it!
- Mocking and test doubles! Creating mocks in PHPUnit & Prophecy
- Using data providers to run tests over and over again with different input
- Running code before and after each test
- Testing for exceptions
- Handling the database in tests
- Integration tests: testing with real objects
- Functional testing!
- Continuous Integration (CI): let the robots run your tests
Watch Online
0:00
/ #1: PHPUnit: Secure the Park
All Course Lessons (29)
| # | Lesson Title | Duration | Access |
|---|---|---|---|
| 1 | PHPUnit: Secure the Park Demo | 05:44 | |
| 2 | Tests, Assertions & Coding | 06:41 | |
| 3 | TDD & Unit, Integration & Functional Tests | 03:41 | |
| 4 | TDD in Practice | 04:59 | |
| 5 | Factory Testing | 07:03 | |
| 6 | Hooks: setUp, tearDown & Skipping Tests | 00:00 | |
| 7 | Data Providers! | 00:00 | |
| 8 | Coding, Adding Features, Refactoring | 00:00 | |
| 9 | Handling Object Dependencies | 00:00 | |
| 10 | Testing Exceptions | 00:00 | |
| 11 | Exceptions Part 2: Adding Fence Security | 00:00 | |
| 12 | Refactoring & Dependency Injection | 00:00 | |
| 13 | Mocks & Test Doubles | 00:00 | |
| 14 | Mocks: Control the Return Value | 00:00 | |
| 15 | Mocks: expects() Assert Method is Called Correctly | 00:00 | |
| 16 | Full Mock Example | 00:00 | |
| 17 | Full Mock Example: the Sequel | 00:00 | |
| 18 | Mocking with Prophecy | 00:00 | |
| 19 | The Important CLI Options & phpunit.xml.dist | 00:00 | |
| 20 | Integration Tests | 00:00 | |
| 21 | Clearing the Database | 00:00 | |
| 22 | Partial Mocking | 00:00 | |
| 23 | Functional Tests | 00:00 | |
| 24 | DomCrawler: Epic Beast of the Night | 00:00 | |
| 25 | Test Fixtures & Fast Databases! | 00:00 | |
| 26 | Loading Fixtures References | 00:00 | |
| 27 | Testing a Form Submit | 00:00 | |
| 28 | Continuous Integration: Activate the Robots | 00:00 | |
| 29 | CircleCI Artifacts | 00:00 |
Unlock unlimited learning
Get instant access to all 28 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.
Learn more about subscriptionComments
0 commentsWant to join the conversation?
Sign in to commentSimilar courses
ISTQB/ASTQB Foundation Level Previous year Questions
Sources: udemy
This special course is designed for all the students who are writing the ISTQB/ASTQB Foundation level exam for the first time and don't know what types of quest
13 hours 11 minutes 14 seconds
Webservices API Testing with Rest Assured API & POSTMAN 2020
Sources: udemy
Webservices API Automation Testing using Rest Assured API and POSTMAN - Biggest course to cover all levels of API Testing using both Manual and Automation appro
37 hours 51 minutes 9 seconds
Software Testing Masterclass - From Novice to Expert
Sources: udemy
Learn software testing with this course and become successful Software testers / Agile Tester. Obtain the core Mobile Testing, Backend testing, Web testing, Tes
7 hours 34 minutes 23 seconds
Java Test Automation Engineer - from Zero to Hero
Sources: udemy
Are you ready to embark on an exciting journey to become a Test Automation Hero in Java? Whether you're new to programming or have some experience, this course
18 hours 40 minutes 6 seconds
Master Java Unit Testing with Spring Boot & Mockito
Sources: udemy
Spring Boot is the most popular framework to develop RESTful Services. It has Awesome Unit Testing capabilities through Spring Boot Starter Test. Mockito is the most popular moc...
3 hours 56 minutes 12 seconds