I am just learning about Unit Testing. I am using NUnit to build tests for a VB.NET project.
The project I'm working on is part of a framework which will be used by people who build ASP.NET websites. It includes a base class (which inherits System.Web.HttpApplication
) that users of my framework will inherit their application class from.
The project also contains a number of composite controls.
I can't quite work out at the moment how you would go about writing tests for either the application base class or any of the composite controls.
In the case of the application base class, should the Unit Test project include a class which inherits from it and then test against that?
Any pointers would be appreciated!
Thanks.