如何使用 CouchApp 对 CouchDB 进行 TDD?

发布于 2024-09-27 18:22:21 字数 216 浏览 0 评论 0原文

最近我发现了 CouchDB。我想使用CouchApp 建立一个flash 游戏网站。它看起来非常合适,因为这种网站完全基于文档,带有一些二进制附件。

在开始之前我唯一需要学习的是如何使用 CouchApp/CouchDB 进行 TDD。我无法在 google 上搜索任何工作流程教程,而且我也没有足够的经验来将任何现有的服务器端 JS 工作流程适应 CouchDB 环境。

你的建议?

Recently I've discovered CouchDB. I want to use CouchApp to build a flash games site. It looks like a perfect fit 'cause this kind of a site is totally document based with a bit of binary attachments.

The only thing I need to learn before I start is how to TDD with CouchApp/CouchDB. I couldn't google any workflow tutorial and I'm not experienced enough to adapt any existing server-side JS workflow to the CouchDB environment.

Your suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

红衣飘飘貌似仙 2024-10-04 18:22:21

我查看了这个,发现了 jsunit 和 Jasmine。

为了熟悉,我选择了 jsunit,因为我有一本书,里面有一些例子(是的,我知道真正的科学决策过程)。

我从中得到了我想要的东西,但对作为测试运行者在浏览器中的工作方式并不完全满意。我需要研究一些在构建过程中实现自动化的方法。

I looked at this and found jsunit and Jasmine.

I settled on jsunit for familiarity and because I had a book with some examples in it (yeah, I know a real scientific decision process).

I got what I wanted out of it, but an not entirely happy about the way of working in a browser as a test runner. I need to look at some ways to automate it in my build process.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文