Python中单元测试框架 Nose的安
1 安装setuptools
download地址:
Http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
#md5=7df2a529a074f613b509fb44feefe74e
$ tar xzvf setuptools-0.6c11.tar.gz
$ Python setup.py install
2 安装coverage
download地址:
http://pypi.python.org/packages/source/c/coverage/coverage-3.4.tar.gz
#md5=46782809578c8fd29912c124d2420842
$ tar xzvf coverage-3.4.tar.gz
$ python setup.py install
3 安装nose
download地址:
http://pypi.python.org/packages/source/n/nose/nose-1.0.0.tar.gz
#md5=47a4784c817afa6ef11a505b574584ed
$ tar xzvf nose-1.0.0.tar.gz
$ python setup.py install
4:测试安装结果,直接执行nosetests命令即可
相关文章