2
使用configMap基本上我需要的是如何使用ConfigMap類可在scalatest項目的例子,這樣我可以例如在Scalatest
- 參考源代碼
- 使用CONFG值 - 在命令行上使用Scalatest轉輪運行Scalatest Dparametername =值,例如
scala -classpath scalatest-<version>.jar org.scalatest.tools.Runner -Dparam1=value1 -p compiled_tests
我使用Scalatest 1.6.1,這裏的信息http://www.scalatest.org/scaladoc/1.6.1/org/scalatest/Suite.html#configMapSection不是非常特異性的,並且在實施例中如何使用configMap here在FixtureSuite似乎並沒有與配置地圖裏傳遞給了很多地方Scalatest-1.6.1
謝謝〜