Should defects be considered when giving schedule estimates?
I was asked to provide estimates on how long the tasks would take in QA standpoint. Should the defects that might be encountered be considered? Or should I assume that the tasks would be defect-free? I would be really thankful if I could get some pointers or readings that would help me understand the process.
Yes, I would take previous test cycles and number of defects with this team, product or developer in a account. If it is new team/product make a guesstimate based on your previous experience.
I never had a test run where I didnt find a defect, or struggled with the configuration, infrastructure, and or setup to be able to start testing.
This estimate cannot be precise, my delivery estimates (including testing and fixing defects) are between -50% and +500% Estimating software development from idea to production is hard.