Remove profile Emily-Bache
article thumbnail

Testing Without Mocks: A Pattern Language

James Shore

But even complex calculations aren’t likely to be a problem, so profile before optimizing.) For code that needs to connect to an external system or start a service, provide a connect() or start() method. For code that needs to perform a long calculation, consider lazy initialization. Thanks also to Matt Wynne and Ted M.

Testing 138