unit testing - Use the same log4j.properties for tests in a multi module Maven project -
i have multi-module, lot of modules, maven project. each module has it's own set of unit-tests. want use same log4j.properties
file tests. have copy , paste same file in each module's /src/test/resources
or there smartest way? i'm looking smartest way no luck now.
i think there couple of possible ways:
- add directory
log4j.properties
classpath used when running unit tests - add directory
log4j.properties
additional resources directory, files directory copied target/classes directory every module
Comments
Post a Comment