当前位置:网站首页>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
- ASP.NET-酒店管理系統
- Multi dimensional monitoring: the data base of intelligent monitoring
- Groovy测试类 和 Junit测试
- The LINQ expression node type 'ArrayIndex' is not supported in LINQ to Entities
- 如何将数字字符串转换为整数
- Momentum of vulnhub
- Oracle withdraw permission & create role
- Some common terms
- repo ~ 常用命令
猜你喜欢

STL tutorial 10 container commonalities and usage scenarios

Hongmeng third training (project training)

Excel quick cross table copy and paste

836. Merge sets (day 63) and search sets

This article explains the complex relationship between MCU, arm, MCU, DSP, FPGA and embedded system

Visual Studio 2022下载及配置OpenCV4.5.5

牛牛的组队竞赛

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

vulnhub之momentum

《剑指offer 03》数组中重复的数字
随机推荐
Internet socket (non) blocking write/read n bytes
Ripper of vulnhub
Analysis of EPS electric steering system
Repo ~ common commands
Some common terms
ORACLE进阶(一) 通过EXPDP IMPDP命令实现导dmp
《剑指offer 04》二维数组查找
Multi dimensional monitoring: the data base of intelligent monitoring
Phpcms prompt message page Jump to showmessage
Cadence background color setting
Redis things
uniapp实现点击加载更多
同事写了一个责任链模式,bug无数...
Web security summary
MCDF实验1
STL教程10-容器共性和使用场景
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
FL Studio 20 unlimited trial fruit arranger Download
Numpy np. Max and np Maximum implements the relu function
MySQL uses the method of updating linked tables with update