In the book 'The Art Of Unit Testing' by Roy Eshorove, the unit test is defined as:
automated piece of code invokes the method or class then checks some assumptions about the logical behaviour of that method or class.
fair enough.
But I am not very clear on "automated piece of code."
What is a unit-test to do with automation? Under what conditions you consider a piece of code "automated" so that it can be a requirement of a code to be a unit-test?