Huge Interview Question

How to better tackle tests within software development, given a particular feature to implement?