DEV Community

Discussion on: How does your company choose between two possible solutions?

mjuraj profile image
Juraj Malenica Author

Really like your answer!

My question would be: in the prototyping phase where you're testing hypotheses, do you bother with documentation and tests, since they are likely to be changed/forgotten, and will slow you down?

bertilmuth profile image
Bertil Muth

Specifically for prototypes for checking factors like performance/reliability, I would implement automatic tests for a very limited slice of functionality that cuts through the layers.

For other prototypes to discuss the functionality early with users, I often found "throw away prototypes" helpful. So there, you would have no automated tests and no comprehensive documentation for these prototypes.