| From: | Giorgio Valoti <giorgio_v(at)me(dot)com> |
|---|---|
| To: | pgsql <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Jenkins |
| Date: | 2011-09-15 10:18:26 |
| Message-ID: | 0793CC52-6266-4505-A428-710E455ADAD1@me.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Il giorno 13/set/2011, alle ore 13:28, salah jubeh ha scritto:
> Hello.
>
> This might be the wrong place to post my question, but any help is appreciated.
>
> Did any one used Jenkins for Postgresql unit testing, and what are the available unit testing plug-ins?, is there is a tutorial for that ?
> Thanks in advance
>
>
Hi Salah,
I use pg_prove, which comes with pgTAP, on a shell script, combined with the TAP formatter in order to produce a JUnit-compatible output:
/opt/local/bin/pg_prove \
-h postgres \
-U giorgio \
-d gmp \
-s tests \
-b /opt/local/bin/psql84 \
--runtests \
--formatter TAP::Formatter::JUnit > db_testreports.xml
Hope this helps
Ciao
--
Giorgio Valoti
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marc Mamin | 2011-09-15 11:29:50 | What do you like to get ? |
| Previous Message | Tomas Vondra | 2011-09-15 09:29:30 | Re: Why is this query running slowly? |