File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
Joined: Sep 02, 2011
Nov 02, 2011 09:17:22
I want to build a
Suite for my integration tests in
. The special thing is that I want to start the spring context, run several tests in different classes and finally stop the spring context.
I'm using maven3. Maybe it is possible to use my pom.xml
Do anyone know, how I can solve it.
author & internet detective
Joined: May 26, 2003
Nov 02, 2011 19:44:48
Spring has an annotation to run a test class inside a Spring context. You could have that test call the methods in different classes. Or even launch another test suite.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
How to separate out the application context
how to inject DAO with Spring???
Spring Transaction using AOP in EJB Project
Using spring within a taglib-class
Spring Module Usage
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015