Information générale
Catégorie:
The Mere Mortals .NET Framework
Thanks!
>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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement