DEV Community

Discussion on: Symfony Unit Testing

detzam profile image

sooo basically test, unittests are for some features that are discussed to work in a way that remains fixed throughout the app. And they make it so you knowif chnages ruin these preset things.

Am i in the ball paark or not?
i;m asking because i;ve been wanting to do this but i didn;t know how its done and i don;t have people that do TDD sadly

eelcoverbrugge profile image
Eelco Verbrugge Author

I use it to make sure I don’t break something when I’m fixing a bug or adding features. TDD is just a different approach, it makes you think first about the minimal requirements of the feature and program after. In my experience a lot of people talk about it but don’t really use it. So I will try by myself and share my thoughts