XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Testing XML don't use xUnit

On Wed, Apr 10, 2013 at 5:45 PM, Ihe Onwuka <ihe.onwuka@gmail.com> wrote:
> On Wed, Apr 10, 2013 at 5:38 PM, Ihe Onwuka <ihe.onwuka@gmail.com> wrote:
>> On Wed, Apr 10, 2013 at 5:30 PM, Dimitre Novatchev <dnovatchev@gmail.com> wrote:
>>>> I'm completely bemused.
>>>
>>> So am I :)
>>>
>>>
>>> Yes, the primary purpose of unit tests is to be able to fail. An unit
>>> test that always passes is useless.
>>>
>>
>
> I think some of the bemusement is because the development community
> have (mis)appropriated unit testing  as a development methodology (the
> mis is my opinion).
>
> The primary purpose of testing (all levels of testing) is risk
> mitigation. In that context it is easy to see why a test that fails
> when there is no bug is useless.
>
> It isn't mitigating any risk.

Worse it is making us spend time and effort investigating it and then
updating it so that it doesn't fail next time.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS