Главная
Study mode:
on
1
Introduction
2
Mocking frameworks
3
Mocks arent stops
4
The Order
5
Phase Tests
6
When should I test
7
Testable
8
Configurable tests
9
Dependency injection
10
Gene Mauch
11
Michael Feathers
12
compiled
13
assert
14
macros
15
plain code
16
refactoring
17
walking
18
design limitations
Description:
Explore the complexities of mocking frameworks in software development through this ACCU Conference talk. Delve into the challenges of writing effective unit tests for existing code bases and external libraries. Learn about test stubs, mocking frameworks like GoogleMock, and their associated domain-specific languages. Examine the potential drawbacks of using mocking frameworks, including learning curves, debugging difficulties, and increased code coupling. Discover alternative approaches, such as Cevelop's Mockator and simple C++ solutions, for refactoring existing code and creating test stubs or mocks. Gain insights into when and why to avoid mocking, and understand various refactoring techniques like dependency injection, object seams, and template seams. Analyze the pros and cons of different testing approaches to improve your software development practices and create more maintainable, testable code.

Mocking Frameworks Considered Harmful

ACCU Conference
Add to list
0:00 / 0:00