Version 2 (modified by 16 years ago) ( diff ) | ,
---|
Current situation
No unit test.
Objective
An automatic test suite.
Proposal
- JUnit + HttpUnit
- XSLT test: run transformation using Junit (using same XSLT processor)
- use XmlUnit to compare output document http://xmlunit.org
- Java test: could be developed if no dependencies on Jeeves session
- HTML validation: http://tidy.sourceforge.net/ http://validator.w3.org/
- XML Service in GeoNetwork: test XML output using HttpUnit
- HTML service / GUI test (html page and JS): ?
For testing services, a test facility could be developped to
- start the application first (Jetty).
- run XSLT transformation
Note:
See TracWiki
for help on using the wiki.