Piggly: PL/pgSQL code coverage tool

From: Kyle Putnam <putnam(dot)kyle(at)gmail(dot)com>
To: pgsql-announce(at)postgresql(dot)org
Subject: Piggly: PL/pgSQL code coverage tool
Date: 2010-04-21 17:16:29
Message-ID: s2va2afd53b1004211016x7968c4f9zec92f0664eb36ab@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce

I'd like to announce the first public release of piggly, version 1.2.0.

Homepage: http://github.com/kputnam/piggly

Piggly recompiles a PL/pgSQL stored procedure with instrumentation
code to track the execution of branches, loops, and blocks of code.
After running your unit tests, It generates a syntax-highlighted view
of the code, annotated with code coverage notes.

Features
* Consecutive loop iterations are counted (pass through, once, more than once)
* Each branch condition is checked for evaluating both true and false
* Execution of the start of each code block is tracked to report
untested regions
* Low test execution overhead
* Installable as a Ruby gem: gem install piggly

Unit tests must be written in Ruby, though future releases may lift
this requirement.

Cheers,
Kyle

Browse pgsql-announce by date

  From Date Subject
Next Message Dan Langille 2010-04-23 00:27:08 PGCon 2010 - registered yet?
Previous Message SQL Maestro Group 2010-04-21 12:13:00 PostgreSQL Maestro 10.4 released