[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: plpgsql unit testing and code coverage
From:       Pavel Stehule <pavel.stehule () gmail ! com>
Date:       2020-12-31 15:24:35
Message-ID: CAFj8pRCSkvd1tdv+EM4FQiF6_9rO77JfJtpZZaE8-9iWEH2iTw () mail ! gmail ! com
[Download RAW message or body]

=C4=8Dt 31. 12. 2020 v 13:21 odes=C3=ADlatel Joao Miguel Ferreira <
joao.miguel.c.ferreira@gmail.com> napsal:

> 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 too=
ls.
>

try to look on https://github.com/okbob/plpgsql_check

Regards

Pavel


> I'dd appreciate your feedback
>
> Thank you
> Joao
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">čt 31. 12. 2020 v  13:21 odesílatel Joao Miguel Ferreira &lt;<a \
href="mailto:joao.miguel.c.ferreira@gmail.com">joao.miguel.c.ferreira@gmail.com</a>&gt; \
napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div>Hello,</div><div><br></div><div>I&#39;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.</div><div><br></div><div>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.</div></div></blockquote><div><br></div><div>try to look on <a \
href="https://github.com/okbob/plpgsql_check">https://github.com/okbob/plpgsql_check</ \
a></div><div><br></div><div>Regards</div><div><br></div><div>Pavel</div><div><br> \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>I&#39;dd \
appreciate your feedback</div><div><br></div><div>Thank \
you</div><div>Joao</div><div><br></div></div> </blockquote></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic