Maximiliano Contieri - Software Design

Maximiliano Contieri - Software Design

Follow
homeDesignCode SmellsBloggingProductivityAboutSupport Me
Tag

Testing

#testing

More content

Read more stories on Hashnode


Articles with this tag

Code Smell 203 - Irrelevant Test Information

Mar 25, 20232 min read 95 views

Irrelevant data distract the reader's attention · TL;DR: Don't add unnecessary information to your assertions Problems Readability...

Code Smell 203 - Irrelevant Test Information

Code Smell 117 - Unrealistic Data

Mar 3, 20222 min read 261 views

Programmers are lazy and seldom try to learn from real business domains · TL;DR: Use real case scenarios and real data (when...

Code Smell 117 - Unrealistic Data

Y2K22 - The Mistake That Embarrasses Us

Jan 13, 20222 min read 343 views

Is the year 2022. We keep programming in the 1950s. · TL;DR: We need to follow one simple rule. Follow the bijection. The new year arrived with new...

Y2K22 - The Mistake That Embarrasses Us

Code Smell 112 - Testing Private Methods

Dec 29, 20212 min read 560 views

If you work on unit testing, sooner or later you will face this dilemma · TL;DR: Don't test your private methods. Problems Breaking Encapsulation Code...

Code Smell 112 - Testing Private Methods

Code Smell 104 - Assert True

Nov 21, 20212 min read 445 views

Asserting against booleans makes error tracking more difficult. TL;DR: Don't assert true unless you are checking a boolean Problems Fail Fast...

Code Smell 104 - Assert True

Code Smell 82 - Tests Violating Encapsulation

Jun 25, 20212 min read 543 views

Objects work fine and fulfill business objectives. But we need to test them. Let's break them. TL;DR: Don't write methods with the only purpose of...

Code Smell 82 - Tests Violating Encapsulation