on
on
0
Superclasses for tests requiring Spring application contexts, including support for transactional execution of test cases, with automatic rollback on completion. Useful as base classes for application-specific tests.
Please refer to the <A href="http://www.springframework.net/doc-latest/reference/html/testing.html">reference documentation on testing</A> for information on how to get started.
<P>While dependecy injection generally leads to classes that are easier to unit test, precisely becuase there are no hidden dependencies in the code and an objects collaborators can be coded explicitly in the test, it is also important to be able to perform some integration testing enabling you to test things such as: </P> <UL> <LI>The correct wiring of your Spring IoC container contexts.</LI> <LI>Data access using ADO.NET or an ORM tool. This would include such things such as the correctness of SQL statements / or NHibernate XML mapping files.</LI></UL>
Classes for Applicationcontext based and transactional tests with Microsoft's Testing Framework