Constructing Corba-Supported Oracles for Testing: A Case Study in Automated Software Testing
نویسندگان
چکیده
As the complexity of applications and therefore of their testing process grows, the importance of automating the testing activity increases. The testing process includes test case generation, test sequencing, oracle construction, test execution, and results interpretation. Automatic generation of test cases from formal specifications has received considerable attention. Relatively little work has been reported, however, on constructing oracles for supporting efficient and automatic execution of such test cases. We present a technique for constructing a CORBA-supported VDM oracle for black-box testing starting from a VDM-SL specification. This specification is used to automatically verify the results of operations implemented in a high-level programming language. We present a case study of the technique applied to a Java application for generic access control. The technique is applicable to any CORBA-compliant programming language.
منابع مشابه
An automatic test case generator for evaluating implementation of access control policies
One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...
متن کاملAn automated framework for software test oracle
Context: One of the important issues of software testing is to provide an automated test oracle. Test oracles are reliable sources of how the software under test must operate. In particular, they are used to evaluate the actual results that produced by the software. However, in order to generate an automated test oracle, oracle challenges need to be addressed. These challenges are output-domain...
متن کاملDesigning for Software Testability Using Automated Oracles
Software testing often requires massive numbers of test cases that must be manually inspected for correctness. This paper demonstrates the use of software \test oracles" to automate the process of checking the correctness of program output. The Prosper system, implemented by the authors, can be used to de ne test oracles and monitor the runtime behavior of software. An e ective method to design...
متن کاملKnowledge-based Software Test Generation
Enriching test oracles with a test expert’s mental model of error prone aspects of software, and granting control to them to specify custom coverage criteria and arbitrary test cases, can potentially improve the quality of automatically generated test suites. This paper reports our investigation on the application of knowledge engineering techniques in automated software testing to increase the...
متن کاملPeters and Parnas : Using Test Oracles Generated from Program
|This paper illustrates how software can be described precisely using LD-relations, how these descriptions can be presented in a readable manner using tabular notations, and one way such descriptions can be used to test programs. We describe an algorithm that can be used to generate a test oracle from program documentation, and present the results of using a tool based on it to help test part o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002