楼主: Mama-2022
93 0

[其他] Python Testing Cookbook/Python检验手册 [推广有奖]

  • 0关注
  • 14粉丝

院士

80%

还不是VIP/贵宾

-

威望
0
论坛币
726 个
通用积分
304.7291
学术水平
20 点
热心指数
94 点
信用等级
14 点
经验
66150 点
帖子
2749
精华
0
在线时间
1609 小时
注册时间
2022-5-14
最后登录
2024-11-3

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
Python Testing Cookbook/Python检验手册(可编辑的pdf电子document)

Over 70 simple but incredibly effective recipes for taking
control of automated testing using powerful Python
testing tools

contents:
Introduction
Asserting the basics
Setting up and tearing down a test harness
Running test cases from the command line with increased verbosity
Running a subset of test case methods
Chaining together a suite of tests
Defining test suites inside the test module
Retooling old test code to run inside unittest
Testing the edges
Breaking down obscure tests into simple ones
Testing corner cases by iteration
Chapter 2: Running Automated Test Suites with Nose
Introduction
Getting nosy with testing
Embedding nose inside Python
Writing a nose extension to pick tests based on regular expressions
Writing a nose extension to generate a CSV report
Writing a project-level script that lets you run different test suites
Chapter 3: Creating Testable Documentation with doctest
Documenting the basics
Introduction
Catching stack traces
Running doctests from the command line
Coding a test harness for doctest
Filtering out test noise

Printing out all your documentation including a status report
Testing the edges
Testing corner cases by iteration
Getting nosy with doctest
Updating the project-level script to run this chapter's doctests
Chapter 4: Testing Customer Stories with Behavior
Driven Development
Introduction
Naming tests that sound like sentences and stories
Testing separate doctest documents
Writing a testable story with doctest
Writing a testable novel with doctest
Writing a testable story with Voidspace
Mock and nose
Writing a testable story with mockito and nose
Writing a testable story with Lettuce
Using Should DSL to write succinct assertions with Lettuce
Updating the project-level script to run this chapter's BDD tests
Chapter 5: High Level Customer Scenarios with Acceptance Testing
Installing Pyccuracy
Introduction
Testing the basics with Pyccuracy
Using Pyccuracy to verify web app security
Installing the Robot Framework
Creating a data-driven test suite with Robot
Writing a testable story with Robot
Tagging Robot tests and running a subset
Testing web basics with Robot
Using Robot to verify web app security
Creating a project-level script to verify this chapter's acceptance tests
Chapter 6: Integrating Automated Tests with Continuous Integration
Introduction
Generating a continuous integration report for Jenkins using NoseXUnit
Configuring Jenkins to run Python tests upon commit
Configuring Jenkins to run Python tests when scheduled
Generating a Cl report for TeamCity using teamcity-nose
Configuring TeamCity to run Python tests upon commit
Configuring TeamCity to run Python tests when scheduled

.......................

Python_Testing_Cookbook.pdf (6.11 MB, 需要: RMB 19 元)

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Cookbook TESTING python Book test

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加JingGuanBbs
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-11-5 12:43