Getting Started with Test-Driven Development
HTML-код
- Опубликовано: 9 сен 2024
- Join me as I show you how to practice Test-Driven Development.
💎 Be a Patreon to get the source code: / gsferreira
👨🏫 TDD Workshop: guiferreira.me...
👨🏫 NDC Oslo Workshop: ndcoslo.com/wo...
⭐️ Get my TDD course: dometrain.com/...
🚨 KEY LINKS
🤝 Support me on Patreon (and get access to source code) here: / gsferreira
💌 Free Developer Insights: guiferreira.me...
📘 Courses: guiferreira.me...
👨🏫 Workshops: guiferreira.me...
🔗 GET IN TOUCH
LinkedIn: / gferreira
Twitter: / gsferreira
GitHub: github.com/gsf...
Get my newsletters: guiferreira.me...
Visit my blog: guiferreira.me
👋 WHO AM I
Hey! If you're new to my Channel, I'm Guilherme. Call me Gui. I'm a Minimalist Software Craftsman. What do I do here? I share tips on how to simplify your life as a Developer.
🎵 MUSIC CREDITS
Reflections in Rain / StreamBeats / Lofi
#testdrivendevelopment #tdd #csharp #dotnet
I have watched "stack" example of uncle bob.Its really good to see another example of TDD. I would be fantastic to see wep API development via TDD or other real world example that we can follow on daily work. Thanks for the nice content !
I feel the same. I can easily see the value in these examples with extremely well defined rules and expectations, but I'm unsure how that would go in a real would application with complex requirements that keep changing.
Something like an API that is not just a simple CRUD application and that touches 2 to 3 dependencies?!
@@gui.ferreira yeah. A lot of TDD examples we see in tutorials are too simple. It's easy to write tests for MyCalculator.Sum(a+b). Real world APIs have to deal with auth, roles and permissions or even security policies (only user who created this entity can access it) and other middleware that runs before and after request, pagination, sorting and filtering, error handling, possibly even translations for different languages, logging, caching, external services like S3 storage...
Great introduction video to TDD Gui! The example is really interesting to try it!! 👌
Thanks! 😃
After 8 years of experience, I'm totally comfortable with TDD in examples like yours.
When it's a small project, and I'm testing basic stuff.
However, I still do struggle in a big (sometimes legacy) project, when in order to test one thing you need to mock 3 external services and 2 database calls.
Would you be able to make a video on that?
How to use TDD in a big project without wasting so much time on it?
Is this what you are looking for?
ruclips.net/user/liveXMDeoBO0IM4?si=daUr8UzjriHT1VEK
@@gui.ferreira I'll check it out, thank you!
You missed CD=>400 and XL=>40, and I would argue the duplication logic that come with it, substracting value from the next symbol if it is bigger.
You are right. To do it, we just need to add a new entry to the symbols list
Hi, what theme for vs code is this?
Not VSCode, but Jetbrains Rider IDE.
But I think it is a Dracula theme.
@@6mrmeeker6 is it chinese?
Is it made in china?
It’s here
ruclips.net/video/wQG_LntcAQQ/видео.html