unit test:
A unit test examines the behavior of a distinct unit of work. Within a Java application, the "distinct unit of work" is often(but not always) a single method. By contrast, integration tests and acceptance tests examine how various components interact. A unit of work is a task that is not directly dependent on the completion of any other task.
A unit test examines the behavior of a distinct unit of work. Within a Java application, the "distinct unit of work" is often(but not always) a single method. By contrast, integration tests and acceptance tests examine how various components interact. A unit of work is a task that is not directly dependent on the completion of any other task.