Added this to our backlog, but there's quite a bit of stuff ahead of it unfortunately.
However, it should be pretty easy for you to figure it out.
We use a fully set up Spring testing harness in our integration project:
https://github.com/BroadleafCommerce/Br ... ntegrationAlternatively, if you don't want to set up a separate maven module for integration tests, you can also do it in the core project. Lucky for you, we have an example of that too!
https://github.com/BroadleafCommerce/bl ... ee/developLet me know if you need help and I can give you a few pointers since it will be a while before we write official documentation.
----------
Edit: I should also note that we use two types of tests, simple unit tests and tests that require a Spring context. You can find example of simple unit tests here: (note that we use junit and easy mock for our unit tests)
https://github.com/BroadleafCommerce/Br ... ommon/time