Writing my first Django app - 6

1. The benefits of testing

  • Save time.
  • Tests don‘t just identify problems, they prevent them.

2. Basic testing strategies

  • Test-driven development: write tests before write code.
  • More often, a newcomer to testing will create some code and later decide that it should have some tests.

3. Writing my first test

还有 96% 的精彩内容
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
禁止转载,如需转载请通过简信或评论联系作者。
支付 ¥2.88 继续阅读