We do test analyses in sprint planing meeting and we usually go over user stories and acceptence criteria and we make sure what test data we need.