[Yanel-dev] Writing junit and htmlunit tests for Yanel resources

Michael Wechner michael.wechner at wyona.com
Thu Oct 2 16:37:37 CEST 2008


Guillaume Déflache schrieb:
> Michael Wechner schrieb:
>> Also please note to introduce a subdirectory such as
>>
>> MY_RESOURCE/src/test/junit/CLASSES
>> MY_RESOURCE/src/test/htmlunit/CLASSES
>
> Great stuff! :)
>
> Just a minor nit: is there a particular reason why the tests have to 
> be split in two directories, 

I think the reason is that Test and WebTest are not limited to junit and 
htmlunit, but could also be implemented by some other framework.
But by differentiating this on the file level one can differentiate nicely.

Makes sense?
> given that the test classes themselves already follow another 
> convention (*Test/*WebTest)? Being able to see all the tests for a 
> given package no matter how they are run could be helpful IMHO.

agreed, but see above?

Any suggestions to how to combine these two arguments?

Cheers

Michi
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



More information about the Yanel-development mailing list