Leo Simons wrote:
Hamilton Verissimo de Oliveira (Engenharia - SPO) wrote:
I give up.
don't take it too seriously, dude! Ulrich is dead wrong in considering unit testing a bad idea. You know that, I know that, but yet here @ avalon we, in practice, follow more of his methodology (little unit testing).....so he might actually have a point ;)
Wow - slow down there .. Not so keen on the generalization!
Yes - there is content here in Avalon that has zero unit testing - in particular stuff in excalibur and cornestone. Outside of that spectrum the framework coverage is good (framework api + avalon meta). I'm not so up-to-speed on Fortress, but as far as the Merlin facilities are concerned the coverage is mixed but not insignificant - composition is good, as is extension - the activation and merlin packages are minimal but look out changes in that status as these packages mature.
As I see things - there is a lot you can do in unit test that validates from a system perpective. The sort of test that gives me a high level view that nothing dramatic is going wrong. As a facility matures - and you grow confident in the object model and signature - then yes - adding more unit tests is a plus - mainly with respect to validating the functional behaviour in detail, really covering error handling, and not least of all - protecting your investment from changes from other people (in that a problamatic change witll be captured before a commit occurs).
Finally, I think that there are solid grounds for rigerouse unit testing against service interfaces - but I also think that you don' need the same level of at the component implementation. If I was really good - I would have figured out how to write nice service based unit test that I could use across different implementations of the same component.
Cheers, Steve.
cheers!
- LSD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/ | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
