Ticket #14 (new enhancement)

Opened 10 months ago

Last modified 10 months ago

Add functional and unit testing

Reported by: aaime Owned by: arneke
Priority: major Milestone:
Component: core Version:
Keywords: Cc:

Description

GeoServer managed to stay long time without unit tests because it had the CITE tests to cover his back somehow, but GWC has nothing, meaning there is nothing preventing regressions and bug to creep in.
I'd say adding some form of testing (functional at least) should be top priority, before adding new features or doing refactorings on the code

Change History

Changed 10 months ago by arneke

Note that there were at least 7 unit tests for the grid and metatile functions, which create the least obvious errors.

I have created standard configurations (still need to make /tmp and %TEMP% more flexible) that let users easily inspect EPSG:900913 and EPSG:4326 if they can connect to sigma.openplans.org. But that's not very automated, do you have any particular tests in mind?

Fake a WMS and see how it comes out? Not sure how to compare the images reliably.

Note: See TracTickets for help on using tickets.