Personally I try to finish a feature, but leave QA for the morning. This way my first task is “copy and paste this command into terminal” or “use X feature in the app.” Because there’s always something that needs tweaking before it’s really done, this naturally pulls me into flow the next day. It’s a great trick!