0

I am new to unit testing. I've been looking for a comprehensive tutorial on testing in the Spring 3 framework without much luck. Anybody have good resources?

Thanks, Eric

badgerduke
  • 1,013
  • 5
  • 16
  • 28
  • 2
    We generally don't allow "*gimme links*" questions. However have a look at [official documentation on testing](http://static.springsource.org/spring/docs/current/spring-framework-reference/html/testing.html), pretty comprehensive. – Tomasz Nurkiewicz Jun 28 '12 at 17:24

1 Answers1

0

As for me, Spring support for testing is usefull most of all when you are writing integration tests. And as Tomasz noted there is a good description of testing functionality in official doc.

If you need to write unit tests I recomend you to use mocking framework like Mockito. They have a good documentation how to use their framework. And this framework is really easy to learn.

Also there is a good discussion about Unit vs Integration testing in Spring.

Community
  • 1
  • 1
dimas
  • 6,033
  • 36
  • 29