Info |
---|
Help is available by sending an email to csf-support@mit.edu |
Panel | ||||
---|---|---|---|---|
Quick Links to:
|
Panel |
---|
DefinitionIn our applications and framework, we have used the term "integration test" to describe a written JUnit test case that requires a full Spring context (including all the framework classes), and actually talks to the MITSIS Oracle database. An integration test is disctinct from a pure unit test, which typically uses mock objects for dependencies, and does not talk to the database. We mainly use integration tests for testing DAO classes, but they could possibly be used also for testing service classes and MVC controllers. |
...
Panel | ||
---|---|---|
New Method of Coding Integration TestsHere's what we are doing to modernize our integration tests.
For a sample JUnit Integration test using the new method, take a look at edu.mit.common.dao.academic.hibernate.TestHibernateAcademicTermDao in the csf-common-legacy module. |