: SimplyTech Pune: Test-Doubles and Mocking
Mocking is a common method for replacing actual code with test-doubles for various purposes. In this talk, Christian Hujer will shed some light on how Mocking works, when it is used, and also when it should not be used.
Speaker
This talk will be given by Christian Hujer based on his 20 years of experience with TDD.
Topics
- TDD quick intro
- JUnit and Cucumber
- The Ontology of Test-Doubles: Dummy, Stub, Spy, Mock, Fake
- Mockito and PowerMock
- London School/Mockism vs Chicago School/Stateism
- Influences of Mocking on Test Coverage
- Examples in C, C#, Go, Java, and JavaScript