4 research outputs found

    An Investigation into the Cost of Unit Testing on an Embedded System

    Get PDF
    The quality of embedded software is important, especially for life-critical and mission-critical embedded systems. And software testing is a key activity to ensure the quality of embedded software. Both system testing and unit testing are vital to test embedded software. Unit testing is probably more important to ensure there are no latent faults. System testing is almost invariably done on a target system, but unit testing is normally done on a host system, as standard test frameworks generally don’t support the execution of unit tests on a target system. This paper analyzes the significant quality benefits to run unit testing on a target system. Also, it presents a performance model for evaluating the test execution cost, discusses the experimental results, and identifies the factors which influence the experimen

    Test Case Generation Model for UML Diagrams

    Get PDF
    The complexity and size of software have been sequentially increasing, and the scope of testing is expanding. To insure deadline delivery and decrease development test cost, the efficiency of software testing needs to be improved. Several approaches for automated test case generation have been proposed over the last few years. However, models for automated test case generation for unified modeling language (UML) diagrams are still in the early stage of development. UML is the most widely used language to describe software analysis and design. Given that test cases can be efficiently derived from UML models, the generation of test cases from UML diagrams has attracted increasing research attention. However, no model currently exists for mapping the generation procedure. This paper proposes a model for automatic test case generation from UML diagrams

    A test case generation framework based on UML statechart diagram

    Get PDF
    Early software fault detection offers more flexibility to correct errors in the early development stages. Unfortunately, existing studies in this domain are not sufficiently comprehensive in describing the major processes of the automated test case generation. Furthermore, the algorithms used for test case generation are not provided or well described. Current studies also hardly address loops and parallel paths issues, and achieved low coverage criteria. Therefore, this study proposes a test case generation framework that generates minimized and prioritized test cases from UML statechart diagram with higher coverage criteria. This study, conducted a review of the previous research to identify the issues and gaps related to test case generation, model-based testing, and coverage criteria. The proposed framework was designed from the gathered information based on the reviews and consists of eight components that represent a comprehensive test case generation processes. They are relation table, relation graph, consistency checking, test path minimization, test path prioritization, path pruning, test path generation, and test case generation. In addition, a prototype to implement the framework was developed. The evaluation of the framework was conducted in three phases: prototyping, comparison with previous studies, and expert review. The results reveal that the most suitable coverage criteria for UML statechart diagram are all-states coverage, all-transitions coverage, alltransition-pairs coverage, and all-loop-free-paths coverage. Furthermore, this study achieves higher coverage criteria in all coverage criteria, except for all-state coverage, when compared with the previous studies. The results of the experts’ review show that the framework is practical, easy to implement due to it is suitability to generate the test cases. The proposed algorithms provide correct results, and the prototype is able to generate test case effectively. Generally, the proposed system is well accepted by experts owing to its usefulness, usability, and accuracy. This study contributes to both theory and practice by providing an early alternative test case generation framework that achieves high coverage and can effectively generate test cases from UML statechart diagrams. This research adds new knowledge to the software testing field, especially for testing processes in the model-based techniques, testing activity, and testing tool support
    corecore