Skip to content

Commit 58107ae

Browse files
committed
updated
1 parent f52626c commit 58107ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

_posts/2016-12-21-writing-better-tests--expectation-vs-implementation.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,7 @@ By making a test bound to implementation we are copying parts of that implementa
7171

7272
Overusing mocks also makes tests longer. Lines of test code you write doesn't always convert to software quality. Actually, from the software developer experience the true is quite the contrary: the more code you write the more bugs you may introduce. And your tests are just the same as production code: they will evolve with your software and they needs to be maintained.
7373

74-
So the actionable advice here is to think **what is important to you: a behavior or a result** (no matter how it is achieved). Try to **discover what is stable and what is not, rely on stable parts, and use public interfaces**. Thanks for reading.
74+
So the actionable advice here is to think **what is important to you: a behavior or a result** (no matter how it is achieved). Try to **discover what is stable and what is not, rely on stable parts, and use public interfaces**. Thanks for reading.
75+
76+
*Written by Michael Bodnarchuk @davert.
77+
Thanks to Nick Palamarchuk for the review and ideas.*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy