Hi John,

Agree 100% with both your comments below.

Regards,

Graham Turrell

John Kaputin/UK/[EMAIL PROTECTED] wrote on 29/01/2007 12:20:20:


> Woden provides a warranty on it's (good) behaviour if you use it via the
> prescribed programming model - via its API.  If as white box unit testers
> you to choose to use the Impl classes and their ctors directly, rather
than
> build a model via the API, then you need to ensure everything is
> initialized correctly which requires some knowledge of the internals so
> that you can include the necessary initialization in your test case setup
> code.   I guess this is what I was getting at.  Unit test programmer
beware
> and expect the unexpected (e.g. NPE) if you do it wrong.
>
> With regards to whether or not users might be misled by our unit test
code
> and/or use it as an excuse for coding outside the API, I do think we need
> to be clear in our User documentation that using Woden via it's API and
> it's prescribed programming model is the only supported usage.
>
> regards,
> John Kaputin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to