Patent ID: 8381184

Claim:
A computer implemented method for dynamic test coverage to evaluate an artifact, the computer implemented method comprising: identifying, using an error report, code of the artifact to be tested to form test code, wherein the error report was generated in response to an occurrence of an error; causing, by the error report, a code trace to be performed on the test code to generate a trace; analyzing code coverage of the test code to form current coverage information; storing the current coverage information in a first repository; retrieving code coverage information for a plurality of prior versions of the test code from the first repository to form prior coverage information, wherein the prior coverage information includes information about when one of the plurality of prior versions of the test code executed and what percentage of the one of the plurality of prior versions of the test code was touched during execution; comparing the current coverage information with the prior coverage information to form a comparison; determining whether the comparison indicates a difference between the current coverage information and the prior coverage information; responsive to a determination that the comparison indicates a difference between the current coverage information and the prior coverage information, collecting the difference between the current coverage information and the prior coverage information to form a difference; generating, by a test case generator, new test cases based on the trace and the difference, wherein the test case generator received the trace; storing the new test cases in a second repository; analyzing code coverage of the test code based on the new test case to form new coverage information; storing the new coverage information in the first repository; and sending the new coverage information to the user.