Tips and tricks for test development

Just Read This Blog Post - Help! Im Terrible at Migrating / Restructuring Code in test mode . I had similar experiences, and I thought that I would try to open it to a wider community ...

+3
source share
1 answer

I am using TFD - Test First development in a data migration project. I understand, until you understand that the TFD philosophy and testing tool tend to evolve slowly. But when you need to change your development code, you will see the great benefits of TFD. I think TFD has towing rules that you should not always break:

  • Treat your test code as the first citizen. Clean code and always refactoring test code
  • Never write code until you have a break test and run the simplest code to pass the test.

If you always respect the rules of the hose, then this is all about TFD practice.

For me, I think I will never be coded again without a failure test.

0
source

Source: https://habr.com/ru/post/1741433/


All Articles