摘要:
文章适用于团队合作的时候多个人向一个repo贡献,整理了Git从fork分支开始的过程。 1. Fork 在github上你要贡献的repo(eg.http://github/remote/test.git)之后称上游仓库。点击fork,将上游仓库fork到你的github,之后称为远程库(eg.h 阅读全文
阅读排行榜
selenium python bindings 初步用法及简单参考例子
2016-06-17 11:42 by chercher, 1009 阅读, 收藏,
摘要:
掌握selenium最简单的方法就是参考例子进行学习,下面给出之前项目的测试例子及分析 # -*- coding: utf-8 -*- import time from selenium import webdriver # 使用firefox浏览器来展示效果,创建了selenium WebDriver的实例 driver = webdriver.Firefox() #driver.get方法打... 阅读全文
二叉树总结及部分Lintcode题目分析 1
2016-07-18 17:27 by chercher, 738 阅读, 收藏,
摘要:
1. 遍历问题 Preorder / Inorder / Postorder preorder: root left right inorder: left root right postorder: left right root 遇到二叉树的问题,就是一步步的拆分,最常用的就是Divide & 阅读全文
selenium python bindings 写测试用例
2016-06-17 14:22 by chercher, 517 阅读, 收藏,
摘要:
这章总结selenium在UI测试方面的用法 首先创建一个类 PythonOrgSearch ,其中 test_search_in_python_org 方法中写的是一个测试用例,像JUnit中@before@after一样的作用,可以用setUp和tearDown函数。这两个函数分别表示在每个测试 阅读全文
二分查找总结及部分Lintcode题目分析 2
2016-07-04 11:50 by chercher, 480 阅读, 收藏,
摘要:
Search in a big sorted array,这个比之前的二分法模板多了一个很不同的特性,就是无法知道一个重要的条件end值,也是题目中强调的重点 The array is so big so that you can not get the length of the whole ar 阅读全文
浙公网安备 33010602011771号