针对 Python Web 开发的 TDD 资源 [英] Resources for TDD aimed at Python Web Development

查看:25
本文介绍了针对 Python Web 开发的 TDD 资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是黑客,也不是全职程序员,但我希望开始我自己的完整应用程序开发实验.如果我在这里遗漏了一些简单的东西,我深表歉意.我正在寻找书籍、文章、网站等方面的建议,以了解更多关于与 Python Web 应用程序编程兼容或针对 Python Web 应用程序编程的测试驱动开发.我知道 Python 有内置工具可以提供帮助.在 RTFM 之外了解这些的最佳方式是什么?我在 StackOverflow 上搜索过,找到了 Kent Beck 和 David Astels 的关于这个主题的书.我还为维基百科文章添加了书签,因为它包含许多此类资源.

I am a hacker not and not a full-time programmer but am looking to start my own full application development experiment. I apologize if I am missing something easy here. I am looking for recommendations for books, articles, sites, etc for learning more about test driven development specifically compatible with or aimed at Python web application programming. I understand that Python has built-in tools to assist. What would be the best way to learn about these outside of RTFM? I have searched on StackOverflow and found the Kent Beck's and David Astels book on the subject. I have also bookmarked the Wikipedia article as it has many of these types of resources.

对于这种语言/应用,您有什么特别推荐的吗?

Are there any particular ones you would recommend for this language/application?

推荐答案

我写了一系列关于 Django 中的 TDD 涵盖了一些带有 nose 测试框架的 TDD.

I wrote a series of blogs on TDD in Django that covers some TDD with the nose testing framework.

有很多免费的在线资源可以学习 TDD:

There are a lot of free online resources out there for learning about TDD:

  • The c2 wiki article gives good background on general TDD philosophy.
  • The onlamp article is a simple introduction.
  • Here's a presentation on TDD with game development in pygame that really helped me understand TDD.

要测试 Web 应用程序,请先进行测试,否则我建议使用 twillselenium 作为工具使用.

For testing web applications, test first or otherwise, I'd recommend twill and selenium as tools to use.

这篇关于针对 Python Web 开发的 TDD 资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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