InClarity AI TechbyMarcin Gryszko·Feb 12, 2022Deciphering test feedbackReact to test feedback by changing the design of your code without falling into the trap of superficial test improvements with test helpers
InClarity AI TechbyMarcin Gryszko·Sep 24, 2021Sociable or solitary unit tests — choose your tradeoffsWhat to choose as a unit for a test? Focus it on a single module or a group of collaborating modules? It depends — choose your tradeoffs
Marcin Gryszko·Mar 26, 2021Don’t break the contract chainHow external and internal contracts (pacts and mocks) can drive development top-down and ensure smooth integration
Marcin Gryszko·Feb 12, 2021Modularize your code with folding and monoidsHow to apply functional programming techniques to achieve greater abstraction: folding (reduce), higher-order functions, and monoidsA response icon1A response icon1
Marcin Gryszko·Nov 28, 2020Effective test doubles, part 2When and how to introduce mocks, spies and fakes in tests: for boundaries to keep outside, behaviours, and only for your own code.
Marcin Gryszko·Nov 11, 2020Effective test doubles, part 1Tactical tips about the efficient and effective usage of test doubles
Marcin Gryszko·Oct 31, 2020What is the System Under Test? A tale from Gallic WarsWhat is the System Under Test? What can we learn from ancient history about testing? A tale of Julius Caesar, Vercingetorix and Gallic wars
Marcin Gryszko·Oct 20, 2020Good vs bad test helpersHow good test helpers can remove accidental complexity and hide irrelevant details ?
Marcin Gryszko·Oct 13, 2020Painless assertionsOn Procedural State Verification vs Expected Value Assertion — how data equality can make your tests robust and expressive