Grails geb getting parameters from commandline

后端 未结 1 1394
一整个雨季
一整个雨季 2021-01-29 02:17

I am writing my ui tests with geb in grails . I want to start the tests from command line with maven. This works fine. My command: mvn -Dtest=CheckMenuLinks test

Now I

相关标签:
1条回答
  • 2021-01-29 02:34

    I found the solution: I just add some parameter like: -Dmytest=myparameter

    I can use this parameter in gebconfig with:

    System.getProperty("mytest")
    
    0 讨论(0)
提交回复
热议问题