当前位置:网站首页>Test the necessary skill points of siege lion! This article takes you to interpret the testing technology under Devops

Test the necessary skill points of siege lion! This article takes you to interpret the testing technology under Devops

2020-11-06 22:33:29 Huawei cloud developer community

【 Abstract 】 This article will start from DevOps Changes to the tester's activities in mode , And the common test technology level to interpret .

The software development mode of the project mainly experiences waterfall model 、 Agile development and DevOps These stages , among DevOps The main solution is development and operation and maintenance 、 Barriers between operations , More emphasis on end-to-end collaboration from requirements design to production deployment , More emphasis on lean 、 Efficient ; We should try our best to eliminate the waste in every link , The ultimate pursuit of high productivity in every link , To get fast 、 The purpose of high quality online . This article will start from DevOps Changes to the tester's activities in mode , And the common test technology level to interpret .

1、 Why is there DevOps?

The software development mode of the project mainly goes through the following stages :

Waterfall model solves the problem of division of labor and cooperation , But a year 1~2 The release process is too slow , And it can't meet the changing requirements .

Agile development solves the frequent change of requirements 、 Online slow problem . But the gap between development and operation and maintenance has not been solved , It even adds a lot of difficulties and disputes between development and maintenance .

DevOps On the basis of agility , from E2E From the perspective of . The main solution is development and operation and maintenance 、 Barriers between operations , More emphasis on end-to-end collaboration from requirements design to production deployment , More emphasis on lean 、 Efficient ; We should try our best to eliminate the waste in every link , The ultimate pursuit of high productivity in every link , To get fast 、 The purpose of high quality online :

2、DevOps What changes have patterns brought to software testing :

One DevOps The flow of the activity is shown in the figure above , You can see that the test has been integrated into DevOps A link in the process ,DevOps The test process in mode will also change . Take our team as an example , Look down at DevOps Common test methods and activities in mode :

It can be seen that ,

1、 Whole process testing : Testing activities have run through DevOps The whole process ,DevOps In mode, the test doesn't disappear , It is embedded in the threshold evaluation point of the whole process .

2、 The test moves left : The development team also has to take on the task of testing , The test team will also be connected to the development phase of testing and testing guidance activities

3、 Automation weight increases : Interface automation 、 Contract automation testing 、 Functional automation is in great use , It is used to improve the online test progress

4、UT Weaken ,API And contract testing is more acceptable :UT Automation still exists , because UT Maintenance work is huge , And the demand changes quickly , Lead to UT The input-output ratio is out of proportion ,UT Automation weight drops , Use API And the contract 、Mock Wait for the test to replace .

5、 Test the diamond model : Some experts pointed out that ,DevOps In mode , The inverted triangle model of the test still exists , But the test layer is still important , Even thick test layers are needed , It's a diamond model , I personally approve of this diamond model .

6、 Deployment automation , Grayscale publishing is becoming more and more popular : The deployment of services has been completely replaced by automation tools , Testing is self-test based on the deployed environment . meanwhile , Grayscale publishing and A/B Testing solves the global risk caused by too fast process , Upgrade and fallback become routine activities .

7、 Testers are still necessary : Service testing and solution testing are still important , It's also DevOPS The most problematic link in the process , yes DevOps An indispensable part of the link .

8、 The rise of online testing and measurement :OPS Phase testing and online monitoring are increasingly accepted , Weight increase , Such as online dial test 、 Online testing 、 Online measurement .

9、 The importance of platform tools :DevOps After the process is completed , More rely on the ability of platform tools to support , such as Huawei's DevOps platform DevCloud Software development cloud 、ServiceStage And so on, they all provide a good flow through ability , Make the whole process handy , Lower barriers to entry .

Conclusion : That's all DevOps Common test methods and activities in mode , Hope to bring some guiding significance to the work of relevant partners . Next issue , We're going to talk about specific DevOps Testing techniques and testing practices , Stay tuned !

 

Click to follow , The first time to learn about Huawei's new cloud technology ~

版权声明
本文为[Huawei cloud developer community]所创,转载请带上原文链接,感谢