David Adamo Jr.
I learn, build, and teach.
  • LinkedIn
  • Twitter
Skip to content
  • About Me
  • Mentoring
  • Blog
  • Bookshelf
  • Peer-Reviewed Publications
  • Github

Texas Sharpshooters and Test-Driven Development

The Texas Sharpshooter fallacy describes a bias where patterns are forced to fit preconceived beliefs. TDD increases the likelihood that tests reflect intended behavior rather than confirming flawed code, thus avoiding the “sharpshooting” of writing tests to suit existing, potentially faulty implementations.

in Programming, Software Engineering, Software Testing | February 7, 2024 | 760 Words | Comment

Add Value and Make Noise

Expecting your work to speak for itself may be one of the reasons why you are not getting the career progression you deserve. In addition to doing good important work, you must also make noise.

in Career | November 21, 2023 | 476 Words | Comment

Life Lessons from Statistics

When you understand basic statistics, some things in life start to make a little more sense.

in Random | October 2, 2023 | 359 Words | Comment

The Curse of Knowledge

You don’t have to wait till you’re an expert to teach others what you’ve learned. In fact, waiting till you become an expert may be a bad idea due to something called “the curse of knowledge”.

in Education | September 30, 2023 | 141 Words | Comment

Avoid Fakers in Unit Tests

Unless you are fuzz testing or your goal is to create property-based tests, test data generators (a.k.a. fakers) are likely to do more harm than good in the long run.

in Programming, Software Engineering, Software Testing | July 29, 2023 | 180 Words | Comment

Lessons Along the Way

From every job or task you’ve done, seek wisdom gained, not battles won.

in Uncategorized | June 19, 2023 | 76 Words | Comment

What is a Unit Test?

There is a lot of confusion about what unit tests are and how they differ from integration tests. This post provides one viewpoint on what unit tests are.

in Programming, Software Engineering, Software Testing | May 16, 2023 | 526 Words | Comment

Duplication over Abstraction in Unit Tests

In your production code, favor abstraction over duplication. In your unit tests, favor duplication over abstraction.

in Programming, Software Testing | February 26, 2023 | 175 Words | Comment

What Does Bad Code Look Like?

What does bad code look like? It may be more interesting to think about bad code in terms of what it feels like.

in Code Reviews, Programming, Software Engineering | January 30, 2023 | 358 Words | Comment

Are your Tests Necessary and Useful?

Some automated tests are unnecessary or problematic. Here are some questions to ask yourself about each test you write.

in Software Testing, Uncategorized | May 22, 2022 | 163 Words | Comment

Post navigation

Recent Posts

  • Texas Sharpshooters and Test-Driven Development
  • Add Value and Make Noise
  • Life Lessons from Statistics
  • The Curse of Knowledge
  • Avoid Fakers in Unit Tests
Independent Publisher empowered by WordPress