Automatic Test Case Generation with State Diagram for Validating the Solar Integrated System

For safe software development on the solar integrated monitoring system, it is very important how to identify safe behaviors of the system behaviors. Therefore, it needs to test the system behaviors after the software development. To solve this problem, t

  • PDF / 1,452,577 Bytes
  • 6 Pages / 439.37 x 666.14 pts Page_size
  • 54 Downloads / 240 Views

DOWNLOAD

REPORT


Abstract. For safe software development on the solar integrated monitoring system, it is very important how to identify safe behaviors of the system behaviors. Therefore, it needs to test the system behaviors after the software development. To solve this problem, the existing studies have proposed the use case based test coverage analysis at all software development stages [1]. With this method, we identify the test cases based on priority of the system behaviors. In this paper, we proposes automatic test case extraction method based on state diagram among the use case-based test coverage extraction methods. That is, we can use state diagram for a system behaviors with which generates test cases to validate the system. We show an applicative case on the system behaviors of a solar integrated system with this approach. Keywords: Automatic test case generation · State diagram · Use case based test coverage · A renewable energy integrated monitoring system

1

Introduction

With the recent development of convergence software, the relative importance of soft‐ ware is increasing in the automobile, aviation, and railroad industries. Also, software is applied in various fields and thus requires complex functions. Therefore, it is the impor‐ tance of quality in increasing software, for example, safety, reliability, etc. As suggested in 2010 Toyota recalls, software defects cause personnel and material loss. For this reason, safe software development is an important issue. To development a safer software, software test is very important. Software defects are discovered after carrying out a test. If software test is executed earlier for that error can be discovered quickly, we can reduce period of development and cost. That is, the actual cost for correcting deficiency becomes cheaper. But the actual test of the system behaviors is executed after the software is implemented. The existing studies have focused on a use case-based testing combined with software development stage [1]. This method can discover and modify the problem that can occur in early development stage in advance as it conducts a testing from the requirement stage. The current method can test all possible input values. Also, the more the generated test cases are existed, the more the time and cost are consumed for testing. This method extracts all possible test © Springer Nature Singapore Pte Ltd. 2017 K. Kim and N. Joukov (eds.), Information Science and Applications 2017, Lecture Notes in Electrical Engineering 424, DOI 10.1007/978-981-10-4154-9_70

610

B.K. Park et al.

cases and focuses on effective testing. The finally extracted levelled test case identifies order of priority. The identified order or priority executes maximum coverage testing through minimum test case. This paper proposes an automatic test case establishment method through State Diagram. This method is included in Use case-based test coverage extraction method. The extraction process is generating State Diagram, State Table, and State Transition Tree and extracting test case. This method can d