- 博客(9)
- 问答 (1)
- 收藏
- 关注
转载 sinatra - Ruby web application 轻量级框架
http://www.sinatrarb.com/http://www.sinatrarb.com/intro-zh.html简介Sinatra是一个基于Ruby语言的DSL( 领域专属语言),可以轻松、快速的创建web应用。# myapp.rbrequire 'sinatra'get '/' do 'Hello world!'end
2016-04-19 17:28:00 2106
转载 Android adb 命令
转自:http://www.open-open.com/lib/view/open1422102599859.htmlADB很强大,记住一些ADB命令有助于提高工作效率。 获取序列号: adb get-serialno查看连接计算机的设备: adb devices重启机器: adb reboot重启到bootloader,即刷机模式:
2016-04-19 17:07:16 339
翻译 Appium Python behave 自动化测试框架搭建(3) - Environment.py
https://www.pythonhosted.org/behave/api.html#environment-file-functionsYou may optionally include some environmental controls (code to run before and after steps, scenarios, features or the wh
2016-04-19 16:23:32 2087
翻译 Appium Python behave 自动化测试框架搭建(2) - behave 知识准备
behave 知识准备 BDD Behavior-driven development (or BDD) is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a s
2016-04-19 15:31:49 2419
原创 Appium Python behave 自动化测试框架搭建(1) - 安装环境
This is how to setup Appium with PythonSetup environment + tools a. Install Python (Version: 2.7)http://docs.python-guide.org/en/latest/starting/install/win/b. Install Android SDKhttps://developer.an
2016-04-19 15:05:32 2569
原创 Python 三元表达式
Python没有像Java那样的 true?1:2; 三元表达式,所以平常使用的时候可以想办法替代它: 例如: number = number.split(‘.mp4’) if number is not None else None video_total = len(number) - 1 if len(number) > 0 else 0
2016-04-18 17:49:10 468
原创 Python BDD 学习资源
1.pytest-bdd implements a subset of Gherkin language for the automation of the project requirements testing and easier behavioral driven development.https://pypi.python.org/pypi/pytest-bdd/
2016-04-18 15:27:04 1188
转载 python函数参数带星号*
python函数参数带星号* def function_with_one_star(*t): print(t, type(t)) def function_with_two_stars(**d) print(d, type(d))上面定义了两个函数,分别用了带一个星号和两个星号的参数,它们是什么意思,运行下面的代码:funct
2016-04-18 11:52:20 410
原创 Appium Python webdriver.remote failed 解决办法
1. 先检查Appium server是否启动:address 127.0.0.1 port 4723 将会用于webdriver.remote构造函数的第一个参数,可以在config.py中如下配置:cf_appium_hub = 'http://127.0.0.1:4723/wd/hub'BaseActions.app_driver = webdriver.Rem
2016-04-15 14:37:27 4976
空空如也
Python对于自动化测试应用已经越来越广泛,有没有这方面的书,实例之类的推荐,拜谢
2016-06-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人