https://issues.apache.org/bugzilla/show_bug.cgi?id=47124

           Summary: Run the unit tests as part of the build!!!
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mguille...@yahoo.fr


Created an attachment (id=23565)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23565)
Patch running the unit tests as part of the build

The lack of unit tests is really a shame for a project like Tomcat! A few unit
tests are available in the source code but first they are not run as part of
the build process and second many of them fail.

I've attached a patch to this issue that:
- runs the existing unit tests as integral part of the build
- renames some of the unit tests to have a consistent naming pattern for the
unit tests (ie XXXXXTest)
- makes a minimal cleanup

The consequence is that the build fails with this patch as 11 of the 51 unit
tests fail. My current knowledge of Tomcat doesn't allow me to decide if the
failing tests should be simply removed or adapted. With feedback on this, I can
provide a modified version of the patch.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to