Font Size: a A A

Design And Implementation Of Test Platform Based On Open-Source Framework

Posted on:2011-01-22Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhangFull Text:PDF
GTID:2178360308961005Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of information society, more and more enterprises and people start to have the opportunity to use computers, and so, lots of software products take part in our life, may be everywhere. Following with them is that we hope the software product's quality continue improving. At the same time, software test is the most important way to promise quality of software, so we should spend more energy focus on software test.There are two major manners to implement software test—manual test and automation test. Among them, manual test is the basic way, and automation test is another important way. We can enhance test efficiency and save much time to test plans and test cases development through writing simple automation test scripts to accomplish plenty of repeatability manual testing.Now, there are many kinds of automation tools in market. But the functions of them are unitary. They are aim at some process of test. The test platform of this thesis was developed by combining test theories, popular Web development technology, Software Test Automation Framework and Rational Function Test tool. Test platform is very flexible. It can run any kind of automation test according to test scripts, but not only one process of all testing. The team in which I had work making use of it to carry out smoke test and regression test.The capabilities of test platform contain management of test cases and user authority, running automation test, analysis of test result and the communication synchronization between test result and test cases. Taking into account the cost of project development and Team reality, and at present LAMP (Linux Apache MySQL Perl/PHP/Python) is open source software which is often used to build dynamic web sites, so we choose them to develop function modules. The main tools in the backstage are the open source framework STAF and MySQL. Test platform uses STAX scripts to call services under STAF to finishing configuring test environment, distributing test cases, starting test tools, running test cases and recording test result. MySQL under test platform is used to save multiple data which will be use in test platform.In the process of developing test platform, in terms of the actual conditions in team, open source tools and resource configuration, I participated in designing and implementing user login module, run automation module, management of test cases module, test result analysis module and test results synchronization module. Additionally, I had developed STAX scripts and Java test scripts under RFT. Finally, test platform realized the rational management of test case scripts, visualization of test results and test cases simultaneously; and developed STAX scripts combining RFT tool can run good regression test automation and smoke test, and so improved testing efficiency with saving a lot of test time.
Keywords/Search Tags:STAF, STAX, LAMP, PHP, MVC
PDF Full Text Request
Related items