[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] Commented: (JAMES-427) [PATCH] Introduce Unit Testing
From:       "Bernd Fondermann (JIRA)" <server-dev () james ! apache ! org>
Date:       2005-12-30 22:58:03
Message-ID: 1095969557.1135983483967.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

    [ http://issues.apache.org/jira/browse/JAMES-427?page=comments#action_12361454 ] 

Bernd Fondermann commented on JAMES-427:
----------------------------------------

Stefano, your worthwhile Mail/MailImpl refactoring broke the patch.
Nevertheless, I expect that it will ease unit testing a lot.
I'll refactor and resubmit the patch.


> [PATCH] Introduce Unit Testing
> ------------------------------
> 
> Key: JAMES-427
> URL: http://issues.apache.org/jira/browse/JAMES-427
> Project: James
> Type: New Feature
> Reporter: Bernd Fondermann
> Assignee: Stefano Bagnara
> Priority: Minor
> Attachments: unittest.txt, unittest1.2.patch
> 
> Patch, which incorporates Unit Testing into James project infrastructure.
> Since there was no reaction on the dev-list since I proposed it a few days ago, I'm \
> uncertain if this is appreciated at all. I think unit testing could become vital \
> for  + helping QA
> + supporting refactorings (e.g. relaxing avalon dependencies)
> + testing while implementing new features (like IMAP)
> + reproducing bugs
> + testing fixes
> I know that it's a long way to go to reach very good test-coverage.
> But there is no risk in starting.
> My determination would be to add 2 to 3 test methods per week.
> It already helped me a lot understanding how parts of James work, although this is \
> only my first test for this codebase. The patch utilizes JUnit 3.8.1 (junit.jar) \
> and Ristretto (ristretto-1.0-all.jar, can be found under \
> http://columbo.sourceforge.net) which the build script expects to find under \
> /tools/lib but which are not attached here in the first place. tests are compiled \
> and run invoking > build run-unit-tests I'd feel more than happy about comments how \
> to improve this testing infrastructure.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic