当前位置:网站首页>Test classification in openstack
Test classification in openstack
2022-07-03 11:49:00 【Brother Xing plays with the clouds】
OpenStack Test classification in It can be divided into the following types :
1) unit testing (small test / unit tests)
- Unit tests are stored in the code base of each component , such as nova The unit tests of are put in nova/tests Catalog
- Unit testing is mainly aimed at source level testing . The test is function level code
- Need data or simulation environment ? Use Mock To simulate
- unit test Generally only for public Level functions
2) A functional test (Medium Tests)
- Functional tests are also stored in the code base of each component , such as nova The unit tests of are put in nova/tests Catalog
- Compared with unit testing , Functional testing should be based on the real dependency environment ( database , file IO System , Hypvervisor wait )
3) Integration testing (Large Tests)
Integration test tools -- SmokeStack ( be based on UI Integrated testing tools )
https://wiki.openstack.org/wiki/Smokestack
be based on Ruby Integrated testing tools
https://github.com/dprince/torpedo
Integration test tools -- Tempest
http://docs.openstack.org/developer/tempest/
- The code of integration test is placed in an independent project, such as tempest in
- Integration tests should be run in a complete deployment environment , For example, a complete deployment OpenStack Environment
- Integration testing focuses on system functions , integrity , And integration with real hardware environment
- Generally, it is not used in integration test code fake / mock
4) Interface tests (UI tests)
There is a project in the community , It's about Horizon Interface for automated testing
https://wiki.openstack.org/wiki/Horizon/Testing/UI
- This test tool uses selenium Yes Horizon Conducted integration test
- Before running the test , We need to start first. OpenStack Server, And ensure Horizon It's working .
5) Performance testing (stress tests / performance tests)
There is a project in the community Rally, For performance testing
https://wiki.openstack.org/wiki/Rally
- Rally Will automatically deploy one OpenStack Environment , And run tempest To verify the environment
- Rally Will simulate the generation of user loads , To observe performance test problems
- Rally adopt Ceilomter To collect Hypervisor and VM The data of , And put it on Rally In the database of
- Rally Will eventually generate Performance test report
6) International testing (globalization tests)
https://launchpad.net/openstack-i18n
- Globalization Will test whether the text translation can be switched normally , And the grammar is correct
- Globalization Make sure the text is encoded correctly , And conform to the reading habits of different languages ( For example, Arabic is a right to left reading habit )
7) Upgrade test (upgrade tests)
Use DevStack, Yes OpenStack Do upgrade testing
https://wiki.openstack.org/wiki/Grenade
边栏推荐
- 在CoreOS下部署WordPress实例教程
- The R language uses the hist function in the native package (basic import package, graphics) to visualize the histogram plot
- 错排问题 (抽奖,发邮件)
- MCDF实验1
- Repo ~ common commands
- C language utf8toutf16 (UTF-8 characters are converted to hexadecimal encoding)
- Kibana - installation and configuration of kibana
- AOSP ~ NTP ( 网络时间协议 )
- How to make others fear you
- STL tutorial 8-map
猜你喜欢

Mmc5603nj geomagnetic sensor (Compass example)
![Capturing and sorting out external Fiddler -- Conversation bar and filter [2]](/img/04/e9cc027d753e7049f273d866eefdce.png)
Capturing and sorting out external Fiddler -- Conversation bar and filter [2]

Excel quick cross table copy and paste

Slam mapping and autonomous navigation simulation based on turnlebot3

Momentum of vulnhub

小鹏 P7 撞护栏安全气囊未弹出,官方回应称撞击力度未达到弹出要求

STL教程10-容器共性和使用场景

vulnhub之momentum

Cadence background color setting

Kibana~Kibana的安装和配置
随机推荐
Excel表格转到Word中,表格不超边缘纸张范围
Oracle withdraw permission & create role
vulnhub之GeminiInc
Multi dimensional monitoring: the data base of intelligent monitoring
Spl06-007 air pressure sensor (example of barometer)
Some common terms
Arctangent entropy: the latest SCI paper in July 2022
The R language uses the hist function in the native package (basic import package, graphics) to visualize the histogram plot
Xml的(DTD,xml解析,xml建模)
Linear table sequence table comprehensive application problem p18
phpcms 提示信息页面跳转showmessage
Go语言实现静态服务器
Programmers' entrepreneurial trap: taking private jobs
The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities
MySQL uses the method of updating linked tables with update
Vulnhub narak
FL Studio 20 unlimited trial fruit arranger Download
P3250 [hnoi2016] Network + [necpc2022] f.tree path tree section + segment tree maintenance heap
动态规划(区间dp)
typeScript