Maven Integration Tests

03 Jul 2015 - 09:27 | Version 4 |

This page needs tagging. Please add keywords describing what this page is about.

When doing integration tests with Maven and JUnit, keep in mind that Maven will setup several tests in parallel. This can be problematic if you are configuring a transaction manager instance and/or Spring application contexts within the setUp of your JUNit tests cases.

To avoid this problem, make sure to start the maven tests in serial mode, like this:

mvn -DforkMode=once test

Contact Us

Atomikos Corporate Headquarters
Hoveniersstraat, 39/1, 2800
Mechelen, Belgium

T +3215613055

Subscribe to our newsletter

Never miss an update

Copyright 2016 Atomikos BVBA