Getting Started with Test-Driven Development

  Рет қаралды 1,628

Gui Ferreira

Gui Ferreira

Ай бұрын

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/workshops/test...
👨‍🏫 NDC Oslo Workshop: ndcoslo.com/workshops/masteri...
⭐️ Get my TDD course: dometrain.com/course/from-zer...
🚨 KEY LINKS
🤝 Support me on Patreon (and get access to source code) here: / gsferreira
💌 Free Developer Insights: guiferreira.me/newsletter
📘 Courses: guiferreira.me/courses/
👨‍🏫 Workshops: guiferreira.me/workshops/
🔗 GET IN TOUCH
LinkedIn: / gferreira
Twitter: / gsferreira
GitHub: github.com/gsferreira
Get my newsletters: guiferreira.me/newsletter
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

Пікірлер: 15
@xelit3
@xelit3 8 күн бұрын
Great introduction video to TDD Gui! The example is really interesting to try it!! 👌
@emiraksoy1520
@emiraksoy1520 Ай бұрын
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 Ай бұрын
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 Ай бұрын
Something like an API that is not just a simple CRUD application and that touches 2 to 3 dependencies?!
@dominikotocan1348
@dominikotocan1348 11 күн бұрын
@@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...
@majtkishadow
@majtkishadow Ай бұрын
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 Ай бұрын
Is this what you are looking for? kzfaq.infoXMDeoBO0IM4?si=daUr8UzjriHT1VEK
@majtkishadow
@majtkishadow Ай бұрын
@@gui.ferreira I'll check it out, thank you!
@maxpuissant2
@maxpuissant2 Ай бұрын
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 Ай бұрын
You are right. To do it, we just need to add a new entry to the symbols list
@Sp1tfire100
@Sp1tfire100 Ай бұрын
Hi, what theme for vs code is this?
@6mrmeeker6
@6mrmeeker6 Ай бұрын
Not VSCode, but Jetbrains Rider IDE. But I think it is a Dracula theme.
@Sp1tfire100
@Sp1tfire100 Ай бұрын
@@6mrmeeker6 is it chinese?
@Sp1tfire100
@Sp1tfire100 Ай бұрын
Is it made in china?
@gui.ferreira
@gui.ferreira Ай бұрын
It’s here kzfaq.info/get/bejne/rbd3kq-f2cmlgYU.html
Start Your TDD Journey with C# in 15 MINUTES
14:55
Gui Ferreira
Рет қаралды 19 М.
Coupling and Cohesion to Write BETTER C# CODE
17:19
Gui Ferreira
Рет қаралды 2,5 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 57 МЛН
The Missing TDD Skill according to Kent Beck
9:51
Gui Ferreira
Рет қаралды 1,6 М.
Visitor - Design Patterns in 5 minutes
3:20
levonog
Рет қаралды 770
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1 МЛН
18 VS Code Tips to Code FASTER
17:39
Gui Ferreira
Рет қаралды 1,9 М.
Coupling and Cohesion Explained
11:43
Gui Ferreira
Рет қаралды 3,4 М.
The BEST Design Pattern for Maintainable Tests
9:56
Gui Ferreira
Рет қаралды 1,9 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 783 М.
10 Tools EVERY Software Engineer Should Know
9:46
Gui Ferreira
Рет қаралды 8 М.