当前位置:网站首页>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
边栏推荐
- How to make others fear you
- ftp登录时,报错“530 Login incorrect.Login failed”
- Keepalived中Master和Backup角色选举策略
- 在CoreOS下部署WordPress实例教程
- 量化计算调研
- Modular programming of single chip microcomputer
- Using onvif protocol to operate the device
- This article explains the complex relationship between MCU, arm, MCU, DSP, FPGA and embedded system
- After using the thread pool for so long, do you really know how to reasonably configure the number of threads?
- After watching the video, AI model learned to play my world: cutting trees, making boxes, making stone picks, everything is good
猜你喜欢

rxjs Observable filter Operator 的实现原理介绍

Momentum of vulnhub

Excel表格转到Word中,表格不超边缘纸张范围

量化计算调研

vulnhub之Ripper

Web security summary

Event preview | the live broadcast industry "rolled in" to drive new data growth points with product power

The excel table is transferred to word, and the table does not exceed the edge paper range

银泰百货点燃城市“夜经济”

The tutor put forward 20 pieces of advice to help graduate students successfully complete their studies: first, don't plan to take a vacation
随机推荐
R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
Spl06-007 air pressure sensor (example of barometer)
DNS多点部署IP Anycast+BGP实战分析
Cuiyusong, CTO of youzan: the core goal of Jarvis is to make products smarter and more reliable
Extrapolated scatter data
R语言使用data.table包进行数据聚合统计计算滑动窗口统计值(Window Statistics)、计算滑动分组中位数(median)并合并生成的统计数据到原数据集中
2022 northeast four provinces match VP record / supplementary questions
Based on MCU, how to realize OTA differential upgrade with zero code and no development?
Numpy np. Max and np Maximum implements the relu function
phpcms 提示信息页面跳转showmessage
软件测试周刊(第78期):你对未来越有信心,你对现在越有耐心。
Cadence background color setting
ASP. Net hotel management system
uniapp scroll view 解决高度自适应、弹框滚动穿透等问题。
How should intermediate software designers prepare for the soft test
抓包整理外篇fiddler———— 会话栏与过滤器[二]
牛牛的组队竞赛
Repo ~ common commands
Viewing binary bin files with notepad++ editor
Internet socket (non) blocking write/read n bytes