当前位置:网站首页>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
边栏推荐
- Arctangent entropy: the latest SCI paper in July 2022
- Based on MCU, how to realize OTA differential upgrade with zero code and no development?
- XML (DTD, XML parsing, XML modeling)
- . \vmware-vdiskmanager. exe -k “c:\\xxxxx.vmdk”
- 银泰百货点燃城市“夜经济”
- 2022 东北四省赛 VP记录/补题
- vulnhub之GeminiInc v2
- 软件测试周刊(第78期):你对未来越有信心,你对现在越有耐心。
- Software testing weekly (issue 78): the more confident you are about the future, the more patient you are about the present.
- 2022年中南大学夏令营面试经验
猜你喜欢
2022 northeast four provinces match VP record / supplementary questions
GCC compilation process and dynamic link library and static link library
vulnhub之GeminiInc v2
DS90UB949
vulnhub之momentum
STL Tutorial 9 deep copy and shallow copy of container elements
Understand go language context in one article
鸿蒙第三次培训(项目实训)
PHP基础
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
随机推荐
DS90UB949
Sheet1$.输出[Excel 源输出].列[XXX] 出错。返回的列状态是:“文本被截断,或者一个或多个字符在目标代码页中没有匹配项。”。
AOSP ~ NTP ( 网络时间协议 )
Viewing binary bin files with notepad++ editor
动态规划(区间dp)
POI excel cell wrap
The tutor put forward 20 pieces of advice to help graduate students successfully complete their studies: first, don't plan to take a vacation
STL Tutorial 9 deep copy and shallow copy of container elements
XML (DTD, XML parsing, XML modeling)
Stm32hal library upgrades firmware based on flash analog U disk (detailed explanation)
uniapp实现点击加载更多
Keepalived中Master和Backup角色选举策略
Hongmeng fourth training
Repo ~ common commands
VS2015的下载地址和安装教程
软考中级软件设计师该怎么备考
Nestjs配置服务,配置Cookie和Session
Phpcms prompt message page Jump to showmessage
After watching the video, AI model learned to play my world: cutting trees, making boxes, making stone picks, everything is good
Using onvif protocol to operate the device