12-08-2021, 07:32 AM
thx for chiming in...
I guess that 1 man projects are manageable as we do. That is developing unit tests not before they are needed.
One thing that experience is giving is the wisdom that testing is a design goal. Some code is simply untestable because it consist of a monolitic blob...
Creating nice interfaces that interconnect all the subcomponents together makes it easy to test later since you can isolate a subcomponent by making it connect with mockup objects that their sole purpose is for testing.
I'm glad to see that this has become a second nature in me. My code is usually easy to test out of the box or with little change. When I need to change it for making testing possible, I see that as code improvement.
I guess that 1 man projects are manageable as we do. That is developing unit tests not before they are needed.
One thing that experience is giving is the wisdom that testing is a design goal. Some code is simply untestable because it consist of a monolitic blob...
Creating nice interfaces that interconnect all the subcomponents together makes it easy to test later since you can isolate a subcomponent by making it connect with mockup objects that their sole purpose is for testing.
I'm glad to see that this has become a second nature in me. My code is usually easy to test out of the box or with little change. When I need to change it for making testing possible, I see that as code improvement.