会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lbxx
上一页
1
2
3
4
2019年6月3日
python unittest学习3---添加测试套件,testsuit
摘要: 一下例子即把testcase添加到suit里面 import unittest class TestStringMethods(unittest.TestCase): def test_upper(self): self.assertEqual("foo".upper(), "FOO") def t
阅读全文
posted @ 2019-06-03 17:55 lbxx
阅读(721)
评论(0)
推荐(0)
python unittest学习2---简单的例子
摘要: python unittest简单的例子如下: class TestString(unittest.TestCase): def test_upper(self): self.assertEqual("foo".upper(), "FOO") def test_isupper(self): self
阅读全文
posted @ 2019-06-03 14:36 lbxx
阅读(149)
评论(0)
推荐(0)
python unittest学习1---重要的几个概念
摘要: Python的untiltest的单元测试框架最初受Junit的启发,同所有其他语言的单元测试框架一样,具有相似的特性。 单元测试框架,一般包括自动化测试,配置共享,关机测试,以及聚合测试用例到测试用例集,且测试用例和报告相互独立等。 unittest包含了几个重要的概念,如下: 1. test f
阅读全文
posted @ 2019-06-03 12:02 lbxx
阅读(123)
评论(0)
推荐(0)
2019年5月29日
appium跑testcases
摘要: import osimport sysimport unittestfrom time import strftimefrom lib.log import *from public.HTMLTestRunner import HTMLTestRunnerfrom lib.sendemail imp
阅读全文
posted @ 2019-05-29 15:44 lbxx
阅读(112)
评论(0)
推荐(0)
2019年5月21日
python 建立SSH连接发送指令
摘要: import paramikoimport select def link_server_client2(serverip, user, pwd): # 进行连接 print(' 开始连接服务器(%s) ' % serverip) client = paramiko.SSHClient() clie
阅读全文
posted @ 2019-05-21 10:41 lbxx
阅读(824)
评论(0)
推荐(0)
2019年3月4日
Python2+appinum基础操作封装
摘要: #-*- coding:utf-8 -*-#author='Shichao-Dong' import osfrom appium import webdriverfrom time import sleep, strftimefrom selenium.webdriver.support.wait
阅读全文
posted @ 2019-03-04 15:54 lbxx
阅读(285)
评论(0)
推荐(0)
2018年7月9日
appinum+python环境搭建
摘要: appinum+python环境搭建 前提:java、android studio(包括android sdk)、配置环境变量 (1)安装nodejshttps://nodejs.org/zh-cn/(2)npm使用淘宝源alias cnpm="npm --registry=https://regi
阅读全文
posted @ 2018-07-09 15:05 lbxx
阅读(574)
评论(0)
推荐(0)
2017年12月28日
Python学习-pymysql(一)
摘要: Python学习-pymysql(一) Python3.3如何连接MySQL数据库,并向数据库里面插入输入数据 例子: #!/usr/bin/python# -*- coding:utf-8 -*-import pymysql# 创建连接conn = pymysql.connect(host='xx
阅读全文
posted @ 2017-12-28 17:46 lbxx
阅读(135)
评论(0)
推荐(0)
上一页
1
2
3
4
导航
博客园
首页
新随笔
联系
订阅
管理
公告