Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractSpringContextTests Class

Superclass for NUnit test cases using a Spring context.

For a list of all members of this type, see AbstractSpringContextTests Members .

System.Object
   AbstractSpringContextTests
      AbstractDependencyInjectionSpringContextTests

[Visual Basic]
Public MustInherit Class AbstractSpringContextTests
[C#]
public abstract class AbstractSpringContextTests

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Maintains a cache of contexts by key. This has significant performance benefit if initializing the context would take time. While initializing a Spring context itself is very quick, some objects in a context, such as a LocalSessionFactoryObject for working with NHibernate, may take time to initialize. Hence it often makes sense to do that initializing once.

Normally you won't extend this class directly but rather extend one of its subclasses.

Requirements

Namespace: Spring.Testing.NUnit

Assembly: Spring.Testing.NUnit (in Spring.Testing.NUnit.dll)

See Also

AbstractSpringContextTests Members | Spring.Testing.NUnit Namespace