在GIN的帮助下嘲笑GWT应用程序展示 [英] Mocking in GWT application showcase with the help of GIN

查看:110
本文介绍了在GIN的帮助下嘲笑GWT应用程序展示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个在最佳实践中编写的结构良好的全堆GWT应用程序示例:使用MVP模式,GIN模块(至少2个:生产模块和用于测试的模拟测试),JRE轻量级测试(扩展TestCase类)。此请求的主要目标是了解如何在GIN的帮助下有效测试GWT应用程序。



这个展示并不需要很大。一个演示者的几个简单的测试就足够了。我已经看过Google提供的联系人示例 - 但它不使用GIN库。



非常感谢您的进一步支持。 解决方案

使用GWT构建的项目 http://james.apache.org/hupa/ 使用Gin / Guice,嘲弄和MVP模式。

I need an example of well-structured full-stack GWT application written in the best practices: with MVP pattern usage, GIN modules (at least 2: production module and the mocking one for tests), JRE light-weight tests (extending TestCase class). The primary goal of this request is to find out how GWT app should be effectively tested with the help of GIN.

This showcase doesn't need to be huge. Several simple tests for one presenter would be enough. I have already took a look at "Contacts" example provided by Google - but it doesn't use GIN library.

Thanks a lot for any advance.

解决方案

The apache Hupa project http://james.apache.org/hupa/ build with GWT uses Gin/Guice, mocking and the MVP pattern.

这篇关于在GIN的帮助下嘲笑GWT应用程序展示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆