Page 1 sur 1 des bookarks avec le tag : unit-testing
KERNEL_CLASS in phpunit when testing a bundle? · symfony/symfony · Discussion #57587 · GitHub
Configuration d'un Kernel symfony dans le cadre des tests dans un bundle
Ajouté par inwebo le 2025 -10 -16. Permalink
Symfony — Functional Tests for Standalone Bundles | by Filip Horvat | Medium
In this article, I will provide you with techniques on how to test your standalone bundle using functional and unit tests and much more.
Ajouté par inwebo le 2025 -10 -16. Permalink
Phpunit Test Custom Assertions | RJS
Ajout de nouvelles assertions à PHPUnit
Ajouté par inwebo le 2025 -09 -21. Permalink
Kent Beck's Test- Driven Development: By Example at DuckDuckGo
Ajouté par inwebo le 2025 -09 -15. Permalink
Phpunit: How to mock a method with different arguments in PHPUnit? - OneLinerHub
PHPUnit provides a powerful mocking framework that allows us to mock methods with different arguments. We can use the expects() method to specify the arguments that the mocked method should expect.
Ajouté par inwebo le 2025 -09 -15. Permalink
PHPUnit worst practices. How to shoot your leg off with… | by Victor Bolshov | Medium
Les pires pratiques pour les tests. Intéressant
Ajouté par inwebo le 2025 -06 -23. Permalink
Mock object with type ?
A tester pour mon problème de stub / mock n'ayant pas la type attendu.
Ajouté par inwebo le 2025 -03 -24. Permalink
How to use Data Providers in PHPUnit — Martin Hujer blog
PHPUnit provider
Ajouté par inwebo le 2024 -11 -13. Permalink
Testing Traits in PHPUnit | doeken.org
test traits PHP
Ajouté par inwebo le 2024 -11 -12. Permalink
Humble Object at XUnitPatterns.com
We are often faced with trying to test software that is closely coupled to some kind of framework. Examples include visual components (e.g. widgets, dialogs, etc.) and transactional component plug-ins. Testing these objects is hard because it can be expensive or impossible to construct all the objects that our system under test (SUT) needs to interact with. In other cases we have objects that are hard to test because they run asynchronously; examples include active objects (e.g. threads, processes, web servers, etc.) and user interfaces. Testing these objects is hard because the asynchronicity introduces uncertainty, interprocess coordination and the need for delays in tests. Faced with all these issues developers often just give up on testing this kind of code.
Ajouté par inwebo le 2024 -11 -05. Permalink