The Strangebuzz PHP/Symfony blog.
Articles for the "phpunit" tag.
2024-03-28T15:08:46+01:00
COil
coil@strangebuzz.com
https://www.strangebuzz.com/en/blog/tag/phpunit.xml
https://www.strangebuzz.com/img/strangebuzz_132.jpg?6.4.2
https://www.strangebuzz.com/img/strangebuzz_1024.jpg?6.4.2
© 2024 Strangebuzz
Simple API mocking with the Symfony HTTP client
https://www.strangebuzz.com/en/blog/simple-api-mocking-with-the-symfony-http-client
2022-02-12T00:00:00+01:00
2022-02-12T00:00:00+01:00
COil
coil@strangebuzz.com
In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client and test it with or without mock.
Organizing your Symfony project tests
https://www.strangebuzz.com/en/blog/organizing-your-symfony-project-tests
2021-12-22T00:00:00+01:00
2021-12-22T00:00:00+01:00
COil
coil@strangebuzz.com
In this post, we see how to organize your Symfony project tests. We check all the available test types and create consistent and robust test suites.
End-to-end testing with Symfony and Panther
https://www.strangebuzz.com/en/blog/end-to-end-testing-with-symfony-and-panther
2021-04-04T00:00:00+02:00
2021-04-04T00:00:00+02:00
COil
coil@strangebuzz.com
In this post, we will see how to create an end-to-end test scenario using Symfony, Panther and Vue.js with a concrete example.