running testng as maven project

I am trying to execute maven test project.

I've been struggling with sending system properties. 

I wont to inject  parameters to 

public static String key = System.getProperty("key", "default value");


Can someone give an example?

Thanks.

0
1 comment

Hi Yigal,

Could you please expand a bit more on what exactly are you doing? This information is unfortunately not enough to know what the problem is.

Running tests with maven and TestNG should be possible, more information on maven here: https://confluence.jetbrains.com/display/TCD10/Maven
More information on TestNG: https://confluence.jetbrains.com/display/TCD10/Testing+Frameworks

0

Please sign in to leave a comment.