1. Hibernate sessionFactory rebuilt for each unit test (using spring framework) stackoverflow.comI'm using Spring's AbstractTransactionalDataSourceSpringContextTests for my persistence unit tests and my problem is my tests are too slow: 1 method=5s, and each additional method is at least another second. I've over ... |
2. Really need help with Integration test with spring+hibernate stackoverflow.comI've posted a lot of questions about this for sometime back like here. It's seems that i keep on doing the same mistake since i most of the time i ... |
3. How do you swap dev/prod session factories for integr test? forum.springsource.orgHow do you swap dev/prod session factories for integr test? Hi all, At the moment I am unit testing my DAOs by manually constructing the sessionFactory and injecting it. I have ... |
4. Testing scope=session forum.springsource.orgTesting scope=session I have a session object that is injected into my controller (Spring MVC). I am having great difficulty writing an integration test for it. I can configure my WebApplicationContext ... |
5. SessionFactory not initialized yet while running a test forum.springsource.orgSessionFactory not initialized yet while running a test I'm trying to test my DAO, but every time I run the test I get Code: java.lang.IllegalStateException: SessionFactory not initialized yet at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.getSessionFactory(AbstractSessionFactoryBean.java:176) ... |
6. Integration tests with mocked session forum.springsource.orgIntegration tests with mocked session I need to setup integration tests testing a session scoped bean. I have looked up several forum conversation but was not able to find one fitting ... |