|
KotoriWebJUnitRunner
a junit runner for GAE production
en, ja Announce!Kotori Web JUnit Runner became another project independently of this project. Here is the older version document. What Is Kotori Web JUnit Runner?Kotori Web JUnit Runner is a JUnit Runner GWT application Demonstrationhttp://ktr-wjr-demo.latest.bufferings.appspot.com/
If you deploy ktr-wjr with your GAE/J application, How It Works?It's simple.
How Do I Use It?Step1: download zipktr-wjr-0.1.2-alpha-v200911262342.zip Step2: copy files to your warUnzip and copy files in the war directory Step3: edit your web.xmlAdd the following to your web.xml. <servlet>
<servlet-name>KtrWjrServiceServlet</servlet-name>
<servlet-class>bufferings.ktr.wjr.server.service.KtrWjrServiceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>KtrWjrServiceServlet</servlet-name>
<url-pattern>/ktrwjr/ktrwjr/ktrwjr.s3gwt</url-pattern>
</servlet-mapping>But if you use Slim3 GWT Servlet, you don't have to do this step. Step4: security constraintIt is better to lock down the ktr-wjr urls Add the following to your web.xml. <security-constraint>
<web-resource-collection>
<url-pattern>/ktrwjr/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
</security-constraint>Step5: add gwt-servlet.jarAdd "gwt-servlet.jar" into your "war/WEB-INF/lib" if there's not. Step6: add junit.jarAdd "junit.jar" into your "war/WEB-INF/lib" if there's not. That's all. First, launch development server and access to "/ktrwjr/index.html". jQueryUI ThemeI used jQueryUI Theme for ktr-wjr design. The distribution zip includes the "base" theme,
Notice30 seconds limitationktr-wjr simply runs test cases, If you want to run such tests, following project may be useful. Test Case Search Directoryktr-wjr searches test cases in "war/WEB-INF/classes" directory. Servlet Callktr-wjr calls servlet twice on load. Independent of App Enginektr-wjr can work on App Engine, but it's independent of App Engine's libraries. Sources
Questions and FeedbacksIf you have any questions, If you find bugs And I want to know how you feel about. Please let me know. Release Notes0.1.2-alpha(2009-11-26)
0.1.1-alpha(2009-11-26)
0.1.0-alpha(2009-11-09)first alpha version release | ||||