Click here to Skip to main content
15,885,309 members
Articles / DevOps / Unit Testing

How to Code Without Thinking?

Rate me:
Please Sign up or sign in to vote.
4.98/5 (16 votes)
11 Mar 2020CPOL27 min read 30.7K   158   21  
Use of a narrow-focus strategy in test-driven-development
Here, I suggest considering TDD as a kind of software design process rather than a way of simply creating an automated test suit. As a consequence, I not only have a good test coverage, but also create a consistent behaviour model of my software component before I start to code it. This helps me to always stay focused on a single aspect of my work, i.e., software design, test implementation, productive code implementation or refactoring, instead of dispersing my concentration over all these aspects at a time. As a result, the mental effort decreases to a point where I have an impression to code without thinking.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Vassili Kravtchenko-Berejnoi Technical Computing
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions