Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Factory is null
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01300384
Message ID:
01300623
Views:
20
Fred,

>in the following method factory is null. Can anyone help.

Tim is on the money--you need to instantiate an instance of AAppTest which in turn instantiates an instance of the application object before instantiating and testing your business objects. I also recommend checking out the MM .NET Dev Guide topic "Usin NUnit with MM .NET" since doing unit testing is a best practice.

Best Regards
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform