Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Factory is null
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01300384
Message ID:
01300623
Vues:
21
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform