system
Given the following post, respond as if you're commenting on Reddit:
human
When to use automated tests and when can you use them?

I'm familiar with manual tests, but now I'm learning Django and the concept of automated testing came up. Is this something that is only for frameworks or can I do automated testing on any project?
gpt
Automated testing is for everything. Not just libs/frameworks.

Imagine this: you have a part of code that is accessed throughout your application. You do some changes to it. Everything seems to work fine. A month later you see that some part of your application doesn’t work as expected anymore. You track it down to said code and the changes you made. How could you have prevented that? Automated testing/unit tests. You would have seen that your changes lead to some code not working as expected anymore the second the tests were run.