More From NG Poland Conf
Fake It Till You Mock It
Fake It Till You Mock It
No matter what tests you implement, sooner or later, you will eventually need "Test Doubles". But what is a "Test Double"? A jargon for saying "Mock" or more than that?
Although attractive, especially in the JS ecosystem, some "Test Doubles" can make our tests more expensive to maintain while harming their readability. They can also over-specify our tests and couple them to implementation details... even worse, they can end up discouraging us from implementing new tests, or even pushing us to get rid of some of them.
Oops. I don't have much room to tell you the rest here, but I'll see you at JS Poland to tell you how "Fakes" and their faithful companions "Object Mothers" and "Gloves" end up becoming the pillars of your testing strategy.
Younes Jaaidi - Software Development Cook, Teacher & Coach, GDE | France
Younes is a Software Cook born in eXtreme Programming, which made him a passionate advocate of Collective Ownership, TDD and snacks in the office.
He trains and coaches teams like yours to cook better apps. He’s also an NX champion, a Google Developer Expert for Angular and Web Technologies and a mediocre sailor.
His favorite command is `sleep 300; git reset --hard; git clean -df`