Hi Usually i use the tag <testSourceDirectory> in order to indicate if tests are for integration (<testSourceDirectory>src/it</testSourceDirectory>) or for unit tests (<testSourceDirectory>src/test</testSourceDirectory>) I use 2 modules, one for unit tests and another for integration tests
Roland Marcin Kwapisz a écrit :
Hi, can someone tell me what is the purpose of <testSourceDirectory> in configuration of the surefire plugin. I do not think this parameter work at all. There is project.build.testSourceDirectory and I use it to point at my filtered test source files. But this method is very inconvenient due to NetBeans IDE - there is no "Test Packages" in project tree then. Is there another way to tell compiler where test sources are? I tried to set project.build.testSourceDirectory (outside pom.xml) in profiles.xml, but it doesn't work. Thanks in advance
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
