No video

How to Write Readable Tests (7 SIMPLE TIPS!)

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

Gui Ferreira

Gui Ferreira

Күн бұрын

Пікірлер: 4
@julianomontini2263
@julianomontini2263 2 ай бұрын
Started to watch your videos recently. Can't stress how happy I'm to have found them, because I swear that 99% of the videos out there that mentions tests and TDD only apply it to a calculator or to a fizzbuzz function. It's so important to show these concepts in the context of a real application. Congratulations on the great content!
@gui.ferreira
@gui.ferreira 2 ай бұрын
Thank you, Juliano! That comment means a lot. Testing and TDD aren't attractive topics, that bring a lot of views. I think that leads to poor content about the topic.
@xaberue
@xaberue 2 ай бұрын
Great tips!! Something that I also do in my tests is a set of MockHelpers where I create the repetitive stuff for my test cases using extension methods as well. BTW, perhaps my opinion would be a bit impopular here, but, Ii it really a game changer to use fluent assertions? I've use both but, I fell really comfortable also doing classic assertions. Thank you very much as always for sharing these tips Gui!!!
@gui.ferreira
@gui.ferreira 2 ай бұрын
Give it a try! For some cases such as working with dates, Fluent Assertions is quite handy. Besides that, it massively improves readability
How the DRY Principle can DESTROY Your C# Tests
9:07
Gui Ferreira
Рет қаралды 2,3 М.
Building Complex Objects in a Simple Way with C#
12:19
Gui Ferreira
Рет қаралды 8 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 80 МЛН
Look at two different videos 😁 @karina-kola
00:11
Andrey Grechka
Рет қаралды 15 МЛН
Why We ALL Use xUnit over NUnit or MSTest?
17:51
Gui Ferreira
Рет қаралды 8 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,5 МЛН
How do I Stay Organized as a Developer
15:21
Gui Ferreira
Рет қаралды 2,2 М.
The Missing TDD Skill according to Kent Beck
9:51
Gui Ferreira
Рет қаралды 1,7 М.
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 492 М.
Let's stop calling them 3 Pillars of Observability
7:06
Gui Ferreira
Рет қаралды 1 М.
Cleaner Code: 3 Ways You Can Write Cleaner Code
7:41
Coding with Lewis
Рет қаралды 84 М.
Getting Started with Test-Driven Development
30:01
Gui Ferreira
Рет қаралды 1,9 М.
The 3 Types of Unit Test in TDD
17:19
Continuous Delivery
Рет қаралды 100 М.
How To Pick a C# Test Naming Convention
11:01
Gui Ferreira
Рет қаралды 1,2 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 80 МЛН