mxunit:expectedException missing

Description

MXUnit allows an annotation on a test method. TestBox doesn't appear to pay attention to this.

Activity

Show:
Luis Majano
December 23, 2013, 5:09 PM

Adam,

We have this already, so not sure why it is not working for you, can you verify below please.

Also in our test suites:

Adam Cameron
December 23, 2013, 5:12 PM

Odd. I'll test when I get home, on a clean environment.

Adam Cameron
December 24, 2013, 10:08 AM

I cannot create a repro case for this @ the moment. I'll get back to you, but I'd say park this for the time being.

Brad Wood
December 27, 2013, 10:48 PM

I can confirm the code in Luis's comment above does work when running inside an MXUnit test. I did notice that the second example does fail if I remove the message from the throw(). I assume this is related to Sean C's bug regarding the empty message not being matched.

Assignee

Luis Majano

Reporter

Adam Cameron

Labels

None

Components

Affects versions

Priority

Major
Configure