Der Code in diesem Repository ist die Grundlage für die Live-Coding-Session "Mocks, Fakes, Stubs".
Die Session ist für Einsteiger konzipiert, d.h. es geht hierbei um die Grundlagen davon, wie man Abhängigkeiten in Tests simuliert ("mockt"), um nicht immer alles mittesten zu müssen.
Die (Refactoring-)Schritte kann man in der Git-Historie sehen.
- DevTalk@TK, 17.09.2024 (PDF)
- JavaLand 2024, 09.04.2024 (PDF)
- code.talks 2023, 14.09.2023 (PDF, Video)
- Java Forum Nord 2023, 12.09.2023 (PDF)
- http://xunitpatterns.com/Test%20Double.html
- http://xunitpatterns.com/Mocks,%20Fakes,%20Stubs%20and%20Dummies.html
- https://martinfowler.com/articles/mocksArentStubs.html
- https://testing.googleblog.com/2013/07/testing-on-toilet-know-your-test-doubles.html
- https://martinfowler.com/articles/practical-test-pyramid.html
- https://hynek.me/articles/what-to-mock-in-5-mins/
- https://blog.cleancoder.com/uncle-bob/2014/05/14/TheLittleMocker.html