Oracle Test Coverage - automated test reporting for PL/SQL scripts!
Java XML Perl Shell
Switch branches/tags
Nothing to show
Latest commit c945beb Apr 30, 2013 @bigokro bigokro Adding all the files that were missing. Many of these may be unsaniti…
…zed, but I don't think the company would mind anymore.


OracleTC: Test Coverage Reporting for Oracle 10g

OracleTC is a project created by Timothy High ( and Eduardo Morelli, while working for Sakonnet Technology ( 

For more background on this project, check out the blog post:

The project is being released for public consumption based on popular demand with the official blessing of Sakonnet. I have done my best to "sanitize" the library here so as not to reveal any of the innards of Xenon itself, but hopefully have not hidden any information that would be useful for getting your own version up and running.

Note that this project was never designed to work for the general case. It was written very specifically for the Xenon code base. However, the techniques used are applicable in general, and with a little elbow grease, it should be possible to measure test coverage of any PL/SQL library.

If anyone wishes to improve the harness, and in particular, make it more turnkey, please do clone the repository and let us know!

PLSQL_Profiling.docx - An overview of the project. It was written for internal use, for people familiar with the project. (i.e. it's cryptic...)
Oracle_TC.sql - Script for setting up coverage reports
oracletc-dist - Folder with configs for a Maven build to transform test results into coverage reports
	    sql - Sample SQL files used for running the tests and outputting the coverage reports
		  v1 - The set of scripts for a specific run of the tests (wrapper scripts may change from version to version)
oracletc - The Java project for building and running the test coverage (ant tasks)