Manual-mode tests allow you to run unit tests manually on any browser. In this mode, the
JUnitShell main class runs as usual on a specified GWT module, but instead of running the test immediately, it prints out a URL and waits for a browser to connect. You can manually cut and paste this URL into the browser of your choice, and the unit tests will run in that browser.
For example, if you want to run a test in a single browser, you would use the following arguments:
GWT will then show a console message like the following:
Please navigate your browser to this URL: http://172.29.212.75:58339/com.google.gwt.user.User.JUnit/junit.html?gwt.codesvr=172.29.212.75:42899
Point your browser to the specified URL, and the test will run. You may be prompted by the GWT Developer Plugin to accept the connection the first time the test is run.
Manual-mode test targets are not generated by the webAppCreator tool, but you can easily create one by copying the
test.prod ant target in the build.xml file to
test.manual and adding
-runStyle Manual:1 to the
-Dgwt.args part. Manual mode can also be used for remote browser testing.
Am Dienstag, 14. Februar 2017 11:52:33 UTC+1 schrieb Daniel Kln:
Hi,i setted in the run config the arg: -Dgwt.args="-runStyle Manual:1".When i start running the gwt unit test, i get a link, which i have to paste into a browser of my choice. This is what i expected. But than the browser shows:
Development Mode requires the GWT Developer PluginMy question: how i can avoid this problem. In production mode the same result appears.Thank you a lot for your helpDaniel
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.