A test apparatus including a means for sending a first test pattern to a
device under test (DUT), where the first test pattern is a part of a
planned sequence of tests, and further including a means for evaluating
the test results received from the DUT, and a method of testing are
described. The test results may include anomalous data indicative of a
defect in the DUT. If so, a second test pattern that is not part of the
planned sequence of tests is selected. The second test pattern is
selected based on a diagnosis of the anomalous data by the test
apparatus.