[Cartoweb-dev] [Bug 1116] New: Update documentation for new unit test infrastructure

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Jul 15 12:35:58 EDT 2005


http://bugzilla.maptools.org/show_bug.cgi?id=1116

           Summary: Update documentation for new unit test infrastructure
           Product: CartoWeb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: cartoweb-dev at lists.maptools.org
        ReportedBy: sylvain.pasche at camptocamp.com


Update the documentation to speak about unit testing per projects.

quick howto:

As usual, performing the whole tests is done with (in tests directory)

php phpunit.php AllTests AllTests.php 

This will launch tests for all projects

To test a specific project, you can use the CARTOWEB_TEST_PROJECT environment
variable on the unit test for the projects:

CARTOWEB_TEST_PROJECT=test_main php  ./phpunit.php  projects_AllTests
projects/AllTests.php

Projects should implement some classes for basic tests, see test_main or demo
for example.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list