Re: Writing new unit tests with PostgresNode - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Writing new unit tests with PostgresNode
Date
Msg-id 20160222152933.GA170977@alvherre.pgsql
Whole thread Raw
In response to Re: Writing new unit tests with PostgresNode  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Writing new unit tests with PostgresNode
List pgsql-hackers
Craig Ringer wrote:

> > +=pod
> > +
> > +=head2 Set up a node
> > pod format... Do we really want that? Considering that those modules
> > are only aimed at being dedicated for in-core testing, I would say no.
> 
> If it's plain comments you have to scan through massive piles of verbose
> Perl to find what you want. If it's pod you can just perldoc
> /path/to/module it and get a nice summary of the functions etc.
> 
> If these are intended to become usable facilities for people to write tests
> with then I think it's important that the docs be reasonably accessible.

Yes, I think adding POD here is a good idea.  I considered doing it
myself back when I was messing with PostgresNode ...

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: psql metaqueries with \gexec
Next
From: Oleksii Kliukin
Date:
Subject: Re: WIP: Failover Slots