Font Size: a A A

The Design And Implementation Of Vsphere Based Software Automation Test Framework

Posted on:2013-09-28Degree:MasterType:Thesis
Country:ChinaCandidate:Y F MaoFull Text:PDF
GTID:2298330431462070Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the popularity of the concept of cloud computing which promoted by IT industry, more and more enterprises begin to develop their own cloud computing products to provide more efficient, flexible and economic services for enterprises and individuals. The most common resource infrastructure of cloud computing, no matter private or public, is virtualization, and VMWare vSphere, a solution to virtualization management, is very popular among the service providers. To test vSphere based cloud service products, including functional test and system test, virtual resource allocation, re-organization, recycling, releasing are inevitable. The cases diescribed above are very time-consuming, easily affected by hardware failure and causing knock-on failures. Generally, for a large scale software, smoke test for daily build covers hundreds of such cases, every iteration of test cycle covers thousands, and the staging test may covers nearly ten thousands. Testers need to re-run related test cases once test case fails and test aborts. That’s a common problem during the whole test process.A new framework for automated testing is proposed by this paper, which aims at reducing testing time of software that based on VMware vSphere, helping testers finish daily test and minimize the impact on the follow-up test case as well as whole test suite when single case fails, to detect and locate the software defect which hide in skipped test cases effectively from resource-consuming test cases.With a deeply research on widely used automation test framework TestNG, this paper points out the disadvantage on scalability and flexibility while running resource-consuming test cases, and designs a case loosly coupled, hierarchical,’rollbackable’testing framework with which testers can define the different levels of test cases, construct combined cases from atom cases, minimize the impact on test quality from failed test cases. When a single case fails within this framework, the resources rolls back to the last normal stage, and the framework skips the failed case, contine running.The framework is applicable to many scenarios:virtualization-based software, heavily network/disk I/O based software, and the tests whose setup and cleanup cost is much more than test case cost.
Keywords/Search Tags:automated testing, resource consumption based case, vSphere
PDF Full Text Request
Related items