Browse Prior Art Database

Extensible Testcase Coverage Tool

IP.com Disclosure Number: IPCOM000118482D
Original Publication Date: 1997-Feb-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 60K

Publishing Venue

IBM

Related People

Arhelger, AW: AUTHOR [+4]

Abstract

Disclosed is a flexible testcase coverage tool. Various trace files are collected and archived when the testcase runs. Analysis of these trace files can easily be done at a later time when coverage criteria parameters are determined or changed.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 57% of the total text.

Extensible Testcase Coverage Tool

      Disclosed is a flexible testcase coverage tool.  Various trace
files are collected and archived when the testcase runs.  Analysis of
these trace files can easily be done at a later time when coverage
criteria parameters are determined or changed.

      As each testcase is run, events that occur on the major system
busses are recorded.  These busses include those between one or more
CPUs, memory and caches and Input/Output (I/O) busses.  Bus traces
are saved because they are very concise and a lot of information
about the  state of the system can be inferred from them.

      These event traces are condensed and combined into one file
(the trace file).  Typical coverage information such as Pass/Fail,
number of CPU seconds, number of simulation cycles, etc., are also
added to this  file.  This trace file is then compressed and added to
an archive.

      A tool is then used to extract trace files from this archive,
scan the information, and plot the results.  The idea of a scan
function is introduced here to allow extensibility.  Scan functions
are small pieces of C++ code that are dynamically loaded and applied
trace file as  it is extracted from the archive.  The scan function
may simply check the trace file for Pass or Fail, or it may do some
more complicated calculations, looking for certain transaction types
on certain busses over time.  Scan functions are written in a simple
format, using a clearly de...