Why I like to use TDD on my software projects

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I’d love to see another video on this topic where you actually follow TDD to make some super simple app or maybe add a feature to an existing one since like you said writing tests is often easier said than done and I don’t see many videos actually showing the process in action

christopherpohlman
Автор

really interested on TDD, i hope you'll do more videos about this interesting topic!

solaaar
Автор

I think its good to discuss what code should have a test in the first place. For our team we only do test for complex code, if you do TDD, you wouldn't know if the implementation would be complex.

kjn
Автор

In TDD you shouldn't use mocks on stuff you own (your code), only to isolate from stuff you don't own (e.g. response from the server). E.g. in Cypress (or Playwright) you can intercept the request and mock the response you want. That's the only thing you need. The rest of the code should use Sociable Tests / Outside-in approach. Why? Otherwise your test will break every time you refactor your code, which is disastrous for TDD or unit tests.

seNick
Автор

No matter if you like TDD or not but with all the GPT4, Copilot X stuff we will switch over from coding to TDD and in the end we'll only write concepts as detailed as possible and no one needs to code anymore. So imo engineers should switch to TDD because it's step 1 for autonomous coding

Alpha-mykf
Автор

hey do you have any videos of adding user identitys to the page, like login registration, making different viewpages for admin and a user and just overall security for the page. I find this the hardest part of making a website or im doing it wrong idk

dzeus
Автор

Just started using TDD. Do you commit on Red? I only commit on Green now

santoshgurung
Автор

I really like TDD philosophy but unfortunately I don't think it's adopted by the majority of companies simply because TDD certainly requires time and many companies don't care about unit tests although application without tests tend to have more bugs, they just want to see the product working.

PhillipLippi
Автор

Talking 8 minutes about it isn't going to keep a lot of us entertained..

lepystudio