Hi;
Are there mock objects anywhere that I can use to write nunit tests for my
code behind methods?
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.comYep, do a search in sourceforge for "mockobjects".
Cheers
Mark
"David Thielen" <thielen@.nospam.nospam> wrote in message
news:0BA4D67A-45A6-4FC9-A4D4-0ACF77962065@.microsoft.com...
> Hi;
> Are there mock objects anywhere that I can use to write nunit tests for my
> code behind methods?
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
Hi;
what I found there was:
NUnitASP - latest release 11030-04 - definitely no 2.0 support
.NET Mock Objects - latest release 3-10-06 but no ASP mock objects
EasyMock.NET - latest release 11-9-04 - definitely no 2.0 support
NMock - no mock objects of any of the .NET API - and they suggest you don't
mock the .NET API with it.
Am I missing one? Because I don't think any of these will work. What I need
is a System.Web.UI.Page mock object so I can then test my code behind in
nunit.
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
"Mark" wrote:
> Yep, do a search in sourceforge for "mockobjects".
> Cheers
> Mark
> "David Thielen" <thielen@.nospam.nospam> wrote in message
> news:0BA4D67A-45A6-4FC9-A4D4-0ACF77962065@.microsoft.com...
>
>
Hi Dave, sorry, I know of no UI.Page mock objects..
However, I do remember there being an article on UI.Page somewhere on
www.thecodeproject.com
hth
Cheers
Mark
"David Thielen" <thielen@.nospam.nospam> wrote in message
news:AF017CF5-C068-4F91-98E5-1BC622EE2E94@.microsoft.com...
> Hi;
> what I found there was:
> NUnitASP - latest release 11030-04 - definitely no 2.0 support
> .NET Mock Objects - latest release 3-10-06 but no ASP mock objects
> EasyMock.NET - latest release 11-9-04 - definitely no 2.0 support
> NMock - no mock objects of any of the .NET API - and they suggest you
> don't
> mock the .NET API with it.
> Am I missing one? Because I don't think any of these will work. What I
> need
> is a System.Web.UI.Page mock object so I can then test my code behind in
> nunit.
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> "Mark" wrote:
>
Hi.
We developped such a tool: POCMock
(http://www.prettyobjects.com/POCMock.aspx)
The .NET v2.0 version (POCMock2) is available but Standard version
only. With standard version, you can't mock libraries having more than
50 classes (but it is a free tool).
With Professional and Enterprise versions, you can mock what ever you
want. These version will be available soon (in March 2006).
Cheers.
Ludovic Dubois.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment