Testing with Doubles: Why, When and How?
So you want to test a unit of code that depends on other units of code. When should you replace the real dependencies with Test Stubs or Mock Objects? When should you let the code under test collaborate with the real depended-on units of code?
Come to this presentation and learn the ins and outs of stubs and mocks. By the end of this presentation, you will understand how PHPUnit's test double functionality works and which parts of it you should stay clear of.
- Neos Conference 2024
- 31.05.2024
- 11:00
- Center Stage