nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02221
[Bug 894842] Re: DynamicMock error
I am using 2.5.10, not 3.0.
To 1.: This is possibly by parsing the MethodInfos of the Interface.
I am sorry about this. I find it a nice work.
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/894842
Title:
DynamicMock error
Status in NUnit Test Framework:
Invalid
Bug description:
If we call
mock.ExpectNoCall("NotExistingFunction");
no error is reported, even if the function not exists.
In my eyeys this is a bug.
Other methods like Expect doesn't check the existence of the methode
name, too. I think this is the first thing they must do and report an
error like: method "NotExistingFunction" does not exist.
By the way: I am not pleased with the check result if the test fails.
It should report at least one function that is not called or a
function that is called but was not expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/894842/+subscriptions
References