Search Postgresql Archives

Re: Jenkins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux