当前位置:网站首页>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
边栏推荐
猜你喜欢

Hongmeng fourth training

【学习笔记】dp 状态与转移

vulnhub之GeminiInc v2

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

vulnhub之momentum

金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~

Groovy测试类 和 Junit测试

Machine learning 3.2 decision tree model learning notes (to be supplemented)

Unity3D学习笔记5——创建子Mesh

PHP server interacts with redis with a large number of close_ Wait analysis
随机推荐
鸿蒙第四次培训
Programmers' entrepreneurial trap: taking private jobs
DS90UB949
Web security summary
Phpcms prompt message page Jump to showmessage
Redis things
VS2015的下载地址和安装教程
简单工厂和工厂方法模式
Internet socket (non) blocking write/read n bytes
P3250 [hnoi2016] Network + [necpc2022] f.tree path tree section + segment tree maintenance heap
PHP Basics
ASP.NET-酒店管理系統
After watching the video, AI model learned to play my world: cutting trees, making boxes, making stone picks, everything is good
mysql使用update联表更新的方法
Dynamic programming (interval DP)
vulnhub之presidential
AI模型看看视频,就学会了玩《我的世界》:砍树、造箱子、制作石镐样样不差...
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
How to get started embedded future development direction of embedded
R language uses data The table package performs data aggregation statistics, calculates window statistics, calculates the median of sliding groups, and merges the generated statistical data into the o