Spring Rooの動作(17) - selenium testコマンド
オプション
- --controller [controller]
- テストを作成するコントローラクラスを指定する
使い方
テストを作成する
roo> selenium test --controller ~.web.SandboxEntityController Created SRC_MAIN_WEBAPP\selenium Created SRC_MAIN_WEBAPP\selenium\test-sandboxentity.xhtml Created SRC_MAIN_WEBAPP\selenium\test-suite.xhtml Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx Managed ROOT\pom.xml
Mavenコマンドでテストを実行する(rooコンソールとは別に実行)
$ mvn selenium:selenese