testing

9 posts
Issue27

Lessons from 13 years of tricky bugs

Some of the hardest bugs to track are those caused by code failing silently. Event order matters. Imagine all event orders possible while writing co…

Issue25

When to automate a test

You should think of the most critical & complex flows that can be automated. When thinking of automating tests, take in account the cost of developing & maintaining automated test scripts.…

Issue21

Testing the boundaries of collaboration

Two experiments that break the rules succeed spectacularly. Lessons learned from the Limbo model - of tiny changes, instantly deployed - can pave the way for real-time software development collaboration.…

Issue21

Software testing anti-patterns

The two anti-patterns - unit tests only without integration tests and integration tests with no unit testing - both come from problematic assumptions about the time required, the complexity of integration tests, the difficulty of setting up the test environment.…

Issue21

Cognitive bias in tests: The most human side of testing

To avoid the sunk cost fallacy, analyze ROI of the current solution & compare alternatives. Continuously refactor existing systems to stay up-to-date.…

Issue20

Perspectives on issue tracking

It helps in enlisting unique tasks to be done. It helps identify ownership of an issue, sometimes extending to multiple roles.…

Issue19

How cognitive biases influence software development

It is a logical fallacy to assume chronology (X came before Y) indicates causality (Y happened because of X). Avoid confirmation bias by focusing more on what can go wrong than on what you are sure is right.…

Issue15

Your test should verify if the code solves the problem, not if it runs

Write code such that if you separate the structure of the code according to the structure of the problem, you won't have to change the structure of the code unless the structure of the problem changes completely.…

testing

The five stages to unit-testing enlightenment

All developers go through five phases on the unit-testing journey before achieving nirvana - ignorance, hesitance, enthusiasm, fanaticism, and pragmatism.…