单元测试:
- 单元测试框架:Nose
- run_test.sh
- 工具:TOX:自动化打包、测试、发布工具
通过tox.ini配置
tox --help eg: tox -e py2.7 [case_name]nova.test.scheduler
运行包下所有测试用例
pip install tox
功能测试:
tempest项目
通过/etc/tempest.conf
./run_tempest.sh -h eg:run_tempest.sh -N [case_name] tempest.api.......
压力测试:性能测试:
rally项目