unit test « Bean « Spring Q&A





1. Spring beans testing    stackoverflow.com

I have three bean classes,A,B and C. Class A depends on class B and Class C properties. How can i write Junit test case to test the Class A without loading ...

2. How to unit test using spring beans    forum.springsource.org

Hello, I wanted to make some unit tests of my classes that use the spring support classes but I got stuck. The documentation says that org.springframework.orm.hibernate.LocalSessionFact oryBean behaves as a SessionFactory, ...

3. @Configurable beans and unit tests    forum.springsource.org

Hi. I'm investigating @Configurable feature of Spring 2.0. It's cool! Now it will be a lot easier to integrate applications with spring. One question though. How to perform unit tests on ...

4. Should I define unit test data using spring beans?    forum.springsource.org

Should I define unit test data using spring beans? Hi, I have a very simple question. Is it good or bad practice to dependency inject simple test data into unit tests? ...