安装:easy_install nose
安装失败就下源码安装
可以进入到测试的目录下直接
nosetests 自动运行所有文件中的测试方法
也可以指定文件名和方法名
nosetests pyfile.py:TestCaseCLassName.test_xxx_method
安装:easy_install nose
安装失败就下源码安装
可以进入到测试的目录下直接
nosetests 自动运行所有文件中的测试方法
也可以指定文件名和方法名
nosetests pyfile.py:TestCaseCLassName.test_xxx_method