Visual Studio .NET 2008 and MsTest are assumed to run university tests. When a system service is based on the container and dependency injection unit testing naturally requires the installation of services.
Should these services be set up in Aadhaar orbit, which are available from all the unit tests each unit test class or if they should be in the base class, then TestInitialize
and ClassInitialize
is a way of executing methods without the need to call them derived classes, such as the base. The MSTEst frame will search the entire object (all base classes) for marking methods
> test *
. When you declare them on the unit test class, you do not need to call them clearly.
Comments
Post a Comment