Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizObj and Test Driven Dev.
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00839569
Message ID:
00847685
Vues:
39
I get it all the time if I don't have an App object. My guess is that you don't have an application ojbect instantiated.

>Dave:
>Have you come across this error when trying to test your bizobj separate from a form?
>
>An unhandled exception of type 'System.NullReferenceException' occurred in mere mortals framework.dll
>
>Additional information: Object reference not set to an instance of an object.
>
>Mike
>>>Thanks for the response.
>>>I would be interested in hearing whether you feel the TDD technique is supplying you with the promised benefits.
>>>Mike
>>
>>Yes, it is. I like working with the business objects as much as possible and staying away from the ui. NUnit allows me to write a business object, interact with it (over and over again, in an automated way) without needing to create a form, and then pass it off to someone else to write the UI. Meanwhile, I'm fairly comfortable that the business object will return the correct data and behave according to spec for the poor UI guy that has to use it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform