Getting Started with Test-Driven Development

  Рет қаралды 3,393

Gui Ferreira

Gui Ferreira

Күн бұрын

Пікірлер: 17
@emiraksoy1520
@emiraksoy1520 8 ай бұрын
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 !
@Meryovi
@Meryovi 8 ай бұрын
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.
@gui.ferreira
@gui.ferreira 7 ай бұрын
Something like an API that is not just a simple CRUD application and that touches 2 to 3 dependencies?!
@dominikotocan1348
@dominikotocan1348 6 ай бұрын
@@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...
@dawid_dahl
@dawid_dahl 2 ай бұрын
Yes, please do a tutorial where you need to mock external dependencies of various kinds. Testing with pure functions is easy. That said, this was a great video. Thank you!
@xaberue
@xaberue 6 ай бұрын
Great introduction video to TDD Gui! The example is really interesting to try it!! 👌
@gui.ferreira
@gui.ferreira 6 ай бұрын
Thanks! 😃
@majtkishadow
@majtkishadow 8 ай бұрын
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?
@gui.ferreira
@gui.ferreira 7 ай бұрын
Is this what you are looking for? kzbin.infoXMDeoBO0IM4?si=daUr8UzjriHT1VEK
@majtkishadow
@majtkishadow 7 ай бұрын
@@gui.ferreira I'll check it out, thank you!
@maxpuissant2
@maxpuissant2 8 ай бұрын
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.
@gui.ferreira
@gui.ferreira 7 ай бұрын
You are right. To do it, we just need to add a new entry to the symbols list
@Sp1tfire100
@Sp1tfire100 8 ай бұрын
Hi, what theme for vs code is this?
@6mrmeeker6
@6mrmeeker6 8 ай бұрын
Not VSCode, but Jetbrains Rider IDE. But I think it is a Dracula theme.
@Sp1tfire100
@Sp1tfire100 8 ай бұрын
@@6mrmeeker6 is it chinese?
@Sp1tfire100
@Sp1tfire100 8 ай бұрын
Is it made in china?
@gui.ferreira
@gui.ferreira 7 ай бұрын
It’s here kzbin.info/www/bejne/rYKqkH-kqch0h7M
THIS stops 90% of C# Developers Learning TDD
19:40
Gui Ferreira
Рет қаралды 15 М.
Start Your TDD Journey with C# in 15 MINUTES
14:55
Gui Ferreira
Рет қаралды 24 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Building better DTOs in C#
11:57
Gui Ferreira
Рет қаралды 7 М.
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 575 М.
How I Would Test-Drive a .NET CRUD API (TDD)
14:46
Gui Ferreira
Рет қаралды 8 М.
Are You Chicago Or London When It Comes To TDD?
18:58
Continuous Delivery
Рет қаралды 32 М.
How to fall in love with TDD - Gui Ferreira - NDC London 2024
45:51
NDC Conferences
Рет қаралды 8 М.
Test Driven Development - What? Why? And How?
17:14
Continuous Delivery
Рет қаралды 90 М.