DEV Community

Discussion on: How to Automatically Run Your Laravel PestPHP Tests on Each GitHub Pull Request?

leob profile image

I recognize the style/syntax from the JS world, it's a BDD approach ... I'm not against it if it's an extra option in addition to phpunit, and people can choose what they like, more choices is not necessarily a bad thing.

For me the important thing to do is to always use TDD (or BDD) on projects, it has so many advantages (and with "use TDD" I mean use it right from the start, to drive the design of the codebase, not as an afterthought).

Thread Thread
bobbyiliev profile image
Bobby Iliev Author

Very good point. I've seen so many existing projects without a single test. It is always a headache to take over such projects.