ExpectedException in Beta3

3 views
Skip to first unread message

Fabio Maulo

unread,
Apr 27, 2009, 6:52:03 PM4/27/09
to nunit-...@googlegroups.com
[Test]
[ExpectedException(typeof(InvalidOperationException))]
public void GroupByFailsSettingOrderWithoutFrom()
{
new GroupBy().OrderBy("Name", true);
}

The test not fail in 2.5.0Beta2 but fail in 2.5.0Beta3 .... well....
In reality the test does NOT FAIL, what is failing is the R# test runner so...
now I'm sure.

R# can't be used with NUnit2.5.0 and this is a big problem.

Btw, from the point of view of NUnit, it is an External issue.

--
Fabio Maulo

Charlie Poole

unread,
Apr 27, 2009, 9:38:34 PM4/27/09
to nunit-...@googlegroups.com
I'm surprised by this one. ExpectedException has been around for a long time
and R# has supported it in the past.
 
Charlie

From: nunit-...@googlegroups.com [mailto:nunit-...@googlegroups.com] On Behalf Of Fabio Maulo
Sent: Monday, April 27, 2009 3:52 PM
To: nunit-...@googlegroups.com
Subject: [nunit-discuss] ExpectedException in Beta3

Simone Busoli

unread,
Apr 28, 2009, 4:32:47 AM4/28/09
to nunit-...@googlegroups.com
I'm not sure but it might have to do with the type of the exception
which is not taken into account.

2009/4/28, Fabio Maulo <fabio...@gmail.com>:
--
Inviato dal mio dispositivo mobile
Reply all
Reply to author
Forward
0 new messages