自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (2)
  • 收藏
  • 关注

原创 how to merge dict and list

for dict: a = {1:1,2:2} b= {3:3} a.update(b)   for list: a = [1,2] b = [3] a.extend(b)

2013-08-12 17:57:03 453

pexpect-2.3.tar.gz

Pexpect makes Python a better tool for controlling other applications. Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect does not require TCL or Expect nor does it require C extensions to be compiled. It should work on any platform that supports the standard Python pty module. The Pexpect interface was designed to be easy to use.

2012-03-30

robotframework

Robot Framework =============== Introduction ------------ Robot Framework is a Python-based keyword-driven test automation framework with an easy-to-use tabular syntax for creating test cases. Its testing capabilities can be extended by test libraries implemented either with Python or Java. Users can also create new keywords from existing ones using the same simple syntax that is used for creating test cases. - Enables easy-to-use tabular syntax for creating test cases in a uniform way. - Provides ability to create reusable higher-level keywords from the existing keywords. - Provides easy-to-read result reports and logs in HTML format. - Is platform and application independent. - Can natively use both Python and Java test code. - Provides a simple library API for creating customized test libraries. - Provides a command line interface and XML based outputs for integration into existing build infrastructure (continuous integration systems). - Provides support for Selenium for web testing, Java GUI testing, running processes, Telnet, SSH, and so on. - Supports creating data-driven tests. - Provides tagging to categorize and select test cases to be executed. Robot Framework documentation including User Guide and keyword documentations of standard libraries can be found from 'doc' directory. For more information, see http://robotframework.org. License ------- Robot Framework code and tests are provided under Apache License 2.0. Documentation and other similar content use Creative Commons Attribution 3.0 Unported license. - http://apache.org/licenses/LICENSE-2.0 - http://creativecommons.org/licenses/by/3.0 Installation ------------ See INSTALLATION.txt for installation and uninstallation instructions. Additionally PACKAGING.tx contains details about creating new installation packages. Usage ----- Robot Framework is executed from command line using `pybot` or `jybot` runner scripts, which run the framework with Python or Jython interpreters, respectively. The basic usage is giving a path to test data to be executed as an argument to the selected runner, with possible command line options before the path. Additionally there is a `rebot` tool for post-processing outputs. Examples:: pybot mytests.html jybot --variable HOST:myhost --outputdir results path/to/tests/ rebot --name Example output1.xml output2.xml For more information, run `pybot --help` and `rebot --help` or see the user guide. Directory Layout ---------------- atest/ Acceptance tests. Naturally using Robot Framework. doc/ User Guide and standard library documentation. proto/ Tools, scripts, etc. not yet ready for real use. src/ Robot Framework source code. templates/ Simple HTML and TSV test data templates. tools/ Different utilities for Robot Framework users. utest/ Unit tests.

2012-03-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除