...
首页> 外文期刊>International Journal of Scientific & Technology Research >A Novel Framework For End-To-End Automation Testing
【24h】

A Novel Framework For End-To-End Automation Testing

机译:端到端自动化测试的新型框架

获取原文
           

摘要

Abstract: - Often implementation of the program will change .Implementations are changed to reduce running time and/or to reduce memory consumption (space complexity) of the program. Often there is need to test the two version of the software, one current and another newer version. Newer version will be having some extra methods/functions, but the remaining methods/functions will be same as that of current version. We need to make sure that these methods of current version have not been affected by the changes done in new version. (Regression Testing), and also often the methods will be refactored to different prototypes/signatures to offer abstraction. These new prototyped methods (signature changed methods) will in-tern invoke the previous method (before to new prototyping), i.e. newer prototyped methods are just wrappers around the previous methods. For instance APIs are wrapped around by corresponding methods .In this situation, it becomes important to test the newly prototyped methods that are wrappers around the old methods/APIs, as we need to verify the correct bindings/mappings of the older and newly prototyped methods. Usually developers write the unit tests to test their logic. But the testers cannot write them as tester lacks the knowledge of logic implemented, and tester may not have any knowledge of coding, but tester knows what each method does and what is it's expected behavior/return type. Thus we need to offer new way to test each method. We propose a novel framework, which addresses these important issues. Framework takes three input parameters namely, class to be tested, variable initialization values (test data), and expected results. From this information, framework automatically builds test driver class at runtime; on the fly on running the framework. Test driver class is used to test the class under test. This test driver class is compiled and executed to get the actual results for class under test. These generated actual results are compared with expected result to find methods different behaviors. Methods whose actual result is not matching with the expected result, then this implies that methods have different behavior, thus the test is failure, and else test is successful.
机译:摘要:-程序的实现通常会更改。更改执行以减少运行时间和/或减少程序的内存消耗(空间复杂性)。通常需要测试软件的两个版本,一个是最新版本,另一个是测试较新版本。较新的版本将具有一些额外的方法/功能,但其余的方法/功能将与当前版本相同。我们需要确保当前版本的这些方法不受新版本中所做更改的影响。 (回归测试),通常方法也将重构为不同的原型/签名以提供抽象。这些新的原型方法(签名更改的方法)将在调用新方法之前(在进行新原型制作之前)调用先前的方法,即,较新的原型方法只是围绕先前方法的包装。例如,API被相应的方法包裹着。在这种情况下,测试新的原型方法(围绕旧方法/ API的包装器)变得很重要,因为我们需要验证旧的和新原型方法的正确绑定/映射。 。通常,开发人员编写单元测试以测试其逻辑。但是测试人员无法编写它们,因为测试人员缺乏所实现的逻辑知识,并且测试人员可能没有任何编码知识,但是测试人员知道每种方法的功能以及预期的行为/返回类型。因此,我们需要提供一种测试每种方法的新方法。我们提出了一个新颖的框架来解决这些重要问题。框架采用三个输入参数,即要测试的类,变量初始化值(测试数据)和预期结果。根据这些信息,框架会在运行时自动构建测试驱动程序类。快速运行框架。测试驱动程序类用于测试被测类。编译并执行此测试驱动程序类,以获取被测类的实际结果。将这些生成的实际结果与预期结果进行比较,以找到行为不同的方法。实际结果与预期结果不匹配的方法,则意味着方法具有不同的行为,因此测试失败,否则测试成功。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号