Unit Testing Done Right (Jakub Pilimon)

  Рет қаралды 576

DevTernity Conference

DevTernity Conference

Күн бұрын

Пікірлер: 8
@Tony-dp1rl
@Tony-dp1rl Жыл бұрын
So. Much. Mock. Code. I am so glad we moved away from Unit Testing to other forms of test automation.
@gruttewibe76
@gruttewibe76 Жыл бұрын
What are those other forms of test automation? I think unit testing can work well if we are testing with the right definition of 'unit' (a unit of behaviour), and if the architecture is testable. 'Unit of behaviour' may be a couple of classes together. We don't have to mock stuff when it's our own code, and when that own code doesn't talk to the external world/environment.
@danielwilkowski5899
@danielwilkowski5899 6 ай бұрын
Please don't think that "unit tests" is about mocking. The guy in the video does that, and you're right it sucks, but you can very well do unit tests without mocks. This guy just doesn't know how apparently.
@JakubPilimon
@JakubPilimon 6 ай бұрын
​@@danielwilkowski5899 Well, if you had watched this, you would know that the guy in the video shows what happens when you mock, what happens when you don't mock, and what happens when you know when to mock and when not to mock. Some people call it drawing your own conclusions, but this happens when a person pays attention to what they are watching.
@danielwilkowski5899
@danielwilkowski5899 6 ай бұрын
@@JakubPilimonDon't get me wrong, I appreciate the authors willingness to show his tries and his attempts, that's natural part of anyones journey, everyone is learning at some point. But showing his attempts and giving them a title "unit testing done right" is just misleading for people who look for quality practices.
@JakubPilimon
@JakubPilimon 6 ай бұрын
And what would be a good practice? Let us know
From Legacy to Solid Code (Bartłomiej Słota)
50:50
DevTernity Conference
Рет қаралды 316
Acceptance Testing for Continuous Delivery - Dave Farley
51:00
DevTernity Conference
Рет қаралды 872
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Qualities of a Highly Effective Architect (Venkat Subramaniam)
51:31
DevTernity Conference
Рет қаралды 380
Domain-Driven Refactoring (Jimmy Bogard)
1:02:01
DevTernity Conference
Рет қаралды 645
TDD in legacy code - Promyze & Valentina Cupać
1:14:47
Packmind — elevate developers and code
Рет қаралды 1,1 М.
Decremental Development (Kevlin Henney)
1:03:06
DevTernity Conference
Рет қаралды 5 М.
Refactoring Is Not Just Clickbait - Kevlin Henney - NDC London 2023
1:07:25
🚀 "Good Enough" Architecture (Stefan Tilkov)
50:15
DevTernity Conference
Рет қаралды 1 М.
Code? - Kevlin Henney
58:58
DevTernity Conference
Рет қаралды 1,7 М.
Leadership Guide for the Reluctant Leader - David Neal
50:00
DevTernity Conference
Рет қаралды 201
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19