On Mon, Apr 3, 2017 at 6:21 PM, Pablo Estrada <[email protected]> wrote:
> Hello there, > I'm running RunnableOnService tests on the DirectRunner, with 'mvn clean > verify' in runners/direct-java; and I'd like to add some logging to figure > out what's going on in some failures. My question is: > > 1. Is there a way to run only a specific test with maven? > Google for "maven run specific test" -- first hit is http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html > 2. Is there extra configuration needed to collect logs written during the > test (Specifically, logs written from PAssert) > 3. If not, where should I look for these logs? A file? Stdout? > Google for "maven test output" -- first hit is http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html Generally reading the config for the plugin you're using is the best way to debug Maven issues. Here, the default is to output to a specific file detailed in the config, but you can also make it log to stdout if you care to. Hope that helps! Dan > > Best! > -P. >
