plpgsql unit testing and code coverage

From: Joao Miguel Ferreira <joao(dot)miguel(dot)c(dot)ferreira(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: plpgsql unit testing and code coverage
Date: 2020-12-31 12:20:52
Message-ID: CALyyT7TxENJQX4SDsZYgXaXhnt_6OuqENVw3Ap9d7P=X_new6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I'm a fan of unit testing and related matters but have used it only on
client applications, not on database implemented logic. I recently joined a
project whit dozens of PL functions and procedures.

So, it would be great for me to find a way to execute unit tests on those
functions and procedures and, even better, if I can get code coverage
results from it. I really enjoy approaching sw development with these tools.

I'dd appreciate your feedback

Thank you
Joao

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Philip Semanchuk 2020-12-31 13:52:43 Re: plpgsql unit testing and code coverage
Previous Message Tom Lane 2020-12-30 20:14:31 Re: Getting "could not read block" error when creating an index on a function.