搜索引擎测试系统的设计与实现
发布时间:2019-04-24 01:33
【摘要】:随着互联网技术的发展,搜索引擎成为人们过滤信息的重要平台。搜索引擎收集并整理庞大的互联网数据,为用户提供优质准确的信息检索服务。同时带来了大量的用户流量,催生了巨大的商业价值,促使搜索引擎提供更好的服务以及更好的用户体验,这使得搜索引擎日益复杂。因此对搜索引擎的测试提出了更高的要求。 目前国内外缺乏相关的搜索引擎测试工具,比较成熟的测试框架对搜索引擎又存在不同的测试缺陷,无法满足对搜索引擎的测试需求。因此,本文分析了当前搜索引擎测试现状以及相关测试方法。对比各测试方法的优缺点,并借鉴数据驱动框架和关键字驱动框架设计了适用搜索引擎测试的混合驱动框架,详述该框架的测试流程,,并验证其能够满足搜索引擎前台测试需求。同时吸取了当前较流行的用例生成方法,使用户能够快速便捷的生成测试用例。在混合驱动框架的基础上进行系统的总体设计,并完成了系统主要功能模块的设计与实现,最终实现了适用于搜索引擎的测试系统。 本文通过对现有测试数据和测试逻辑进行分析和归纳,将测试逻辑拆分成可执行的测试关键字并与测试预期结果相结合,形成独立的测试单元。各测试单元间加入对比逻辑,配合使用公共属性从而形成完整混合式的测试数据。在该方法基础上建立通用的测试流程,以及相对应的测试数据和测试方案管理功能,并使用B/S结构实现便捷的交互机制。最终实现用户仅提交测试对象地址和预期结果即可完成整个测试过程的完整测试系统。 经过实践,证明混合式测试数据对搜索引擎产品测试的效率更高,使用通用测试逻辑和常用测试逻辑函数,并能不断添加测试逻辑,使得测试逻辑更加灵活。测试预期结果和测试数据相对开放使系统具有良好的通用性,能够支持不同测试项目和不同客户端的搜索引擎产品。从而有效的提高测试效率,降低测试成本。
[Abstract]:With the development of Internet technology, search engine has become an important platform for people to filter information. Search engines collect and collate huge Internet data to provide users with high-quality and accurate information retrieval services. At the same time, it brings a large amount of user traffic, gives birth to huge business value, and promotes search engine to provide better service and better user experience, which makes search engine more and more complicated. Therefore, the test of search engine puts forward higher requirements. At present, there is a lack of relevant search engine testing tools at home and abroad. The mature testing framework has different testing defects for the search engine, and can not meet the test requirements of the search engine. Therefore, this paper analyzes the current status of search engine testing and related testing methods. The advantages and disadvantages of each test method are compared, and a hybrid driver framework suitable for search engine testing is designed with reference to the data-driven framework and the keyword-driven framework, and the test flow of the framework is described in detail. And verify that it can meet the search engine foreground test requirements. At the same time, it absorbs the current popular method of generating test cases, so that users can generate test cases quickly and conveniently. Based on the hybrid drive framework, the overall design of the system is carried out, and the design and implementation of the main functional modules of the system are completed. Finally, the test system suitable for the search engine is implemented. In this paper, the existing test data and test logic are analyzed and summarized, and the test logic is divided into executable test keywords and combined with the expected results of the test to form an independent test unit. Contrast logic is added to each test unit and common attributes are used to form a complete hybrid test data. On the basis of this method, the general test flow, the corresponding test data and test scheme management function are established, and the convenient interaction mechanism is realized by using BSS structure. Finally, the user can complete the whole test process only by submitting the address of the test object and the expected result. Through the practice, it is proved that the hybrid test data is more efficient for the product testing of search engine. The general test logic and common test logic functions are used, and the test logic can be added continuously, which makes the test logic more flexible. The expected test results and test data are relatively open so that the system has a good versatility and can support search engine products with different test items and different clients. Thus effectively improve the efficiency of testing, reduce the cost of testing.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52;TP391.3
本文编号:2463990
[Abstract]:With the development of Internet technology, search engine has become an important platform for people to filter information. Search engines collect and collate huge Internet data to provide users with high-quality and accurate information retrieval services. At the same time, it brings a large amount of user traffic, gives birth to huge business value, and promotes search engine to provide better service and better user experience, which makes search engine more and more complicated. Therefore, the test of search engine puts forward higher requirements. At present, there is a lack of relevant search engine testing tools at home and abroad. The mature testing framework has different testing defects for the search engine, and can not meet the test requirements of the search engine. Therefore, this paper analyzes the current status of search engine testing and related testing methods. The advantages and disadvantages of each test method are compared, and a hybrid driver framework suitable for search engine testing is designed with reference to the data-driven framework and the keyword-driven framework, and the test flow of the framework is described in detail. And verify that it can meet the search engine foreground test requirements. At the same time, it absorbs the current popular method of generating test cases, so that users can generate test cases quickly and conveniently. Based on the hybrid drive framework, the overall design of the system is carried out, and the design and implementation of the main functional modules of the system are completed. Finally, the test system suitable for the search engine is implemented. In this paper, the existing test data and test logic are analyzed and summarized, and the test logic is divided into executable test keywords and combined with the expected results of the test to form an independent test unit. Contrast logic is added to each test unit and common attributes are used to form a complete hybrid test data. On the basis of this method, the general test flow, the corresponding test data and test scheme management function are established, and the convenient interaction mechanism is realized by using BSS structure. Finally, the user can complete the whole test process only by submitting the address of the test object and the expected result. Through the practice, it is proved that the hybrid test data is more efficient for the product testing of search engine. The general test logic and common test logic functions are used, and the test logic can be added continuously, which makes the test logic more flexible. The expected test results and test data are relatively open so that the system has a good versatility and can support search engine products with different test items and different clients. Thus effectively improve the efficiency of testing, reduce the cost of testing.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP311.52;TP391.3
【参考文献】
相关期刊论文 前10条
1 周萍;吴娓娓;;软件第三方测试实施中的问题及建议[J];电脑知识与技术;2009年28期
2 崔宇寅;;软件自动化测试方法简述与展望[J];电脑知识与技术;2010年34期
3 严少清,陈革,万年红;软件测试自动化管理系统的设计与实现[J];计算机工程;2002年09期
4 杨根兴,宗宇伟;软件测试不确定性研究及解决途径[J];计算机工程;2004年07期
5 崔红军;饶若楠;邵培南;;一种API自动化测试工具的设计与实现[J];计算机工程;2007年04期
6 陆永忠;余幸花;聂松林;裴小兵;汪春;;基于事件流图的GUI自动化测试系统的开发[J];计算机工程与科学;2008年05期
7 李煌;邱崧;刘锦高;;基于Visual Basic的自动化测试系统的研究与设计[J];计算机应用;2007年S2期
8 裴颂文;余强;吴百锋;;一种新的基于J2EE技术的软件自动化测试系统的研究与实现[J];计算机应用与软件;2008年07期
9 刘晓丹;武君胜;刘博;;基于数据驱动的自动化测试平台设计[J];科学技术与工程;2008年03期
10 朱菊;王志坚;杨雪;;基于数据驱动的软件自动化测试框架[J];计算机技术与发展;2006年05期
本文编号:2463990
本文链接:https://www.wllwen.com/kejilunwen/sousuoyinqinglunwen/2463990.html