Hi Allen,

Allen Bierbaum wrote:
> I see what Dirk is saying about how the tests show up next to the code 
> they are testing, but I really don't like that much because it makes the 
> test mixin with the "normal" code.  I would rather something like 
> "testNode.cpp" or "test_Node.cpp" anything that would separate the tests 
> from the standard code in the listings.  :(

I actually like it being close, as that makes tests really visible and 
obvious and avoid people missing tests. Given that the naming scheme is 
clear (*Test.cpp is a test) I don't see why you would want to separate them.

You can still separate them if you want to for things that are not 
clearly related to a certain OpenSG class (like 
transformAndLODTest.cpp), but in general I like the close proximity for 
now. I think its important to remind people of tests, to encourgae 
writing them, and this is an easy way to do it.

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to