0

Testing with Doubles: Why, When, and How?

 1 year ago
source link: https://thephp.cc/dates/testing-with-doubles-why-when-and-how-international-php-conference
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Testing with Doubles: Why, When, and How?

October 24, 2023 International PHP Conference, Munich

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.

More information and tickets: https://phpconference.com/munich/


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK