会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
vame
CnBlogs
Home
New Post
Contact
Admin
Subscription
2017年6月19日
unittest框架assert断言
Pthon内部自带了一个单元测试的模块,\ pyUnit也就是:unittest 先介绍下unittest的基本使用方法: 1.import unittest2.定义一个继承自unittest.TestCase的测试用例类3.定义setUp和tearDown,在每个测试用例前后做一些辅助工作。4.定
Read More
posted @ 2017-06-19 16:56 vame
Views(387)
Comments(0)
Diggs(0)
Edit
公告