aspose file tools*
The moose likes Testing and the fly likes TestSuite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "TestSuite" Watch "TestSuite" New topic
Author

TestSuite

sam backet
Greenhorn

Joined: Sep 02, 2011
Posts: 22

Hello,

I want to build a test Suite for my integration tests in java. 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.

Thanks

Sam
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TestSuite
 
Similar Threads
Using spring within a taglib-class
How to separate out the application context
Spring Transaction using AOP in EJB Project
Spring Module Usage
how to inject DAO with Spring???