camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Lalonde (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4393) Camel :: Nagios unit test will break if exception is thrown during set up
Date Tue, 30 Aug 2011 00:30:37 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mathieu Lalonde reassigned CAMEL-4393:
--------------------------------------

    Assignee: Mathieu Lalonde

> Camel :: Nagios unit test will break if exception is thrown during set up
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-4393
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4393
>             Project: Camel
>          Issue Type: Task
>            Reporter: Mathieu Lalonde
>            Assignee: Mathieu Lalonde
>            Priority: Minor
>             Fix For: Future
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The test classes swallow any exceptions thrown during setUp, log a warning and set flag
indicating they can't run.
> Test methods return successfully if the flag is set!  If an error is introduced during
the setUp() phase, all tests will pass and we will be down to developer eye balls to spot
the warning!
> The simplest solution is to let the exception escape from setUp() which will count as
a test error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message