I like the idea of both. However, I do think that there are probably some "unit tests" that are really integration tests and should be tested against a real instance. Many such tests can be done during the integration-test phase of the build lifecycle (perhaps within the test module or a dedicated integration test module, if it will depend on other modules being built). MiniAccumuloCluster can be set up during the pre-integration-test phase and shut down during the post-integration-test phase, with maven-failsafe-plugin being used to run these tests previously treated as "unit tests". This can probably be done using maven-exec-plugin, but it might be easier to write a custom maven-mini-accumulo-cluster-plugin, like the maven-jetty-plugin, for launching/shutting down the MiniAccumuloCluster. If this option is pursued, I'm curious if there will still be any remaining need for mock... it might be easier to determine if we need this after we implement proper integration testing. If there's a problem running integration tests on Windows, that can probably be fixed.