预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共38页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

OpenStackTestOpenStackTests测试介绍测试介绍:SmallTests测试介绍:MediumTests测试介绍:LargeTests测试介绍NoseReview单元测试框架Nose安装编写简单Nose用例Setup和tearDown模块的Setup和tearDown测试函数的Setup和tearDown测试函数的Setup和tearDown测试类的Setup和tearDown测试类的Setup和tearDownpackage的setUp和tearDownnosetest常用的命令行参数nosetestinOpenStackMockReviewPythonMock介绍PythonMock应用场景PythonMockDemoPythonMockDemoPythonMockDemoPythonMockDemoPythonMockDemoDevstackReviewDevstack介绍Devstack安装和配置Devstack构成$>./stack.sh<sniplotsofoutput!>horizonisnowavailableathttp://127.0.0.1/keystoneisservingathttp://127.0.0.1:5000/v2.0/examplesonusingnovaclientcommandlineisinexercise.shthedefaultusersare:adminanddemothepassword:4f9a953e98ee57d922d9Thisisyourhostip:127.0.0.1stack.shcompletedin79seconds.TempestReviewTempestnick@awcloud:~/repos/tempest$./tempest/tools/conf_from_devstack-D../devstack/-oetc/tempest.confOutputfilealreadyexists.Overwrite?[y/N]Ynick@awcloud:~/repos/tempest$catetc/tempest.conf[nova]host=127.0.0.1port=5000apiVer=v2.0path=tokensuser=adminapi_key=4f9a953e98ee57d922d9tenant_name=adminssh_timeout=300build_interval=10build_timeout=600[environment]image_ref=3712ca26-f926-4725-9132-08ec1f6e452eimage_ref_alt=4flavor_ref=1flavor_ref_alt=2create_image_enabled=trueresize_available=trueThanks!