摘要: 1.使用unittest来开发python测试 PyUnit创建于1999,2001年被加入到python2.1的基础类库中。名字叫unittest。例子1:#first democlass MyClass(object): def __init__(self,num): sel... 阅读全文
posted @ 2012-12-07 12:06 jianhong 阅读(1144) 评论(0) 推荐(0)
摘要: 1.使用unittest来开发python测试 PyUnit创建于1999,2001年被加入到python2.1的基础类库中。名字叫unittest。例子1:#first democlass MyClass(object): def __init__(self,num): sel... 阅读全文
posted @ 2012-12-07 12:06 jianhong 阅读(332) 评论(0) 推荐(0)