r/cpp • • Mar 17 '19

How To Test Your Code ?

https://www.technolush.com/blog/how-to-test-your-code
0 Upvotes

2 comments sorted by

View all comments

2

u/HKei Mar 17 '19

You shouldn’t start testing only after finding a bug, how are you going to find bugs if you’re not running your code? (Or would you prefer 100% of your bugs to cause a problem in production at some point?)

1

u/vulpinecode Mar 22 '19

Testing and development activities runs parallel in this model - https://www.technolush.com/blog/verification-validation-model

Anyways the post does not say anywhere to test after finding bug. You can always prepare a test plan for complete testing before starting the actual testing depending on project requirements.