On Thu, Dec 03, 2015 at 04:25:49PM +0100, Adrien ANDR?? wrote:

[snip]

> how may i perform unit testing?

[snip]

> i simply tried comparing
> psql -t -A -f regress/function.sql -o function_output
> with
> function_expected
> using diff...
> 
> Is there a better way?

That's about how postgis and postgres test themselves.  You might also
look at pgtap at http://pgtap.org/ if you want something more formal.

-- 
nw
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to