Christopher Elkins wrote:
> 
> Hi, all.
> 
> While implementing OR query support in Criteria, I'm planning to create the
> beginnings of a JUnit test-case for it. What are people's opinions on the
> location of the test classes? I see at least two options:
>     (1) src/java/org/apache/turbine/tests
>     (2) src/tests
> 
> Feel free to suggest other locations and/or naming conventions.
> 
> Additionally, I see at least two options for organizing the test classes within
> the test root directory:
>     (1) place all classes in one directory (which seems like a bad idea)
>     (2) mirror the directory heirarchy of the main source code - for example,
> the CriteriaTest class would be located in [test_root]/util/db
> 
> Thoughts?

FYI, if you do it either of these ways, you can't easily test protected
or private methods.
-- 

Daniel Rall <[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to