Although software testing is a crucial activity in the software development process, only recently have more sound and consistent testing tools become available for testingjavaprograms and their components. These to...
详细信息
Although software testing is a crucial activity in the software development process, only recently have more sound and consistent testing tools become available for testingjavaprograms and their components. These tools support mostly functional and control-flow based structural criteria. In this paper we explore control-flow and data-flow based coverage criteria to support the testing of javaprograms and/or components. We also describe a testing tool, named JaBUTi, which can be used by both the component developer and the component user to test java-based components and/or systems. To achieve this goal, the tool works at the bytecode level such that no source code is required during the testing activity. We illustrate these ideas and concepts with an example extracted from the literature. (c) 2004 Elsevier B.V. All rights reserved.
Nowadays, java program testing is widely used in an academic e-learning system. It can help a lecturer to give feedback and suggestion to learners automatically and immediately. Especially, an object-oriented programm...
详细信息
ISBN:
(纸本)9781728176024
Nowadays, java program testing is widely used in an academic e-learning system. It can help a lecturer to give feedback and suggestion to learners automatically and immediately. Especially, an object-oriented programming (OOP) class should have a system to support learners. It is difficult and labor-intensive, if there are many learners. The test case-based approach is widely used in programming testing, because they are simple and convenient. This approach requires input-output pairs to evaluate the submitted code by comparing the output from their code with the expected output. However, it considers the output only, thus making it not appropriate for an OOP class. To develop the java program testing to support an OOP class, a proposed structural validation-based testing (PSVT) is proposed. The experiments showed that our method can evaluate the correctness and the relation validity of the given code which is corresponding to the human. Moreover, its complexity is O(N-2).
暂无评论