Quantcast Interview Question

What are unit tests? How do you automate without a UI?