DOI QR코드

DOI QR Code

A Model-based Test Approach and Case Study for Weapon Control System

모델기반 테스트 기법 및 무장통제장치 적용 사례

  • Bae, Jung Ho (The 1st Research and Development Institute, Agency for Defense Development) ;
  • Jang, Bucheol (The 1st Research and Development Institute, Agency for Defense Development) ;
  • Koo, Bongjoo (The 1st Research and Development Institute, Agency for Defense Development)
  • 배정호 (국방과학연구소 제1기술연구본부) ;
  • 장부철 (국방과학연구소 제1기술연구본부) ;
  • 구봉주 (국방과학연구소 제1기술연구본부)
  • Received : 2017.03.13
  • Accepted : 2017.09.08
  • Published : 2017.10.05

Abstract

Model-based test, a well-known method of the black box tests, is consisted of the following four steps : model construction using requirement, test case generation from the model, execution of a SUT (software under test) and detection failures. Among models constructed in the first step, state-based models such as UML standard State Machine are commonly used to design event-based embedded systems (e.g., weapon control systems). To generate test cases from state-based models in the next step, coverage-based techniques such as state coverage and transition coverage are used. Round-trip path coverage technique using W-Method, one of coverage-based techniques, is known as more effective method than others. However it has a limitation of low failure observability because the W-Method technique terminates a testing process when arrivals meet states already visited and it is hard to decide the current state is completely same or not with the previous in the case like the GUI environment. In other words, there can exist unrevealed faults. Therefore, this study suggests a Extended W-Method. The Extended W-Method extends the round-trip path to a final state to improve failure observability. In this paper, we compare effectiveness and efficiency with requirement-item-based technique, W-Method and our Extended W-Method. The result shows that our technique can detect five and two more faults respectively and has the performance of 28 % and 42 % higher failure detection probability than the requirement-item-based and W-Method techniques, respectively.

Keywords

References

  1. El‐Far, Ibrahim K., and James A. Whittaker, "Model-Based Software Testing," Encyclopedia of Software Engineering, 2001.
  2. A. C. Dias Neto, R. Subramanyan, M. Vieira, and G. H. Travassos, "A Survey on Model-based Testing Approaches: a Systematic Revie," Proc. ACM Int'l. Workshop on Empirical Assessment of Sotware Eng. Languages and Technologies, pp. 31-36, 2007.
  3. S. Kansomkeat and R. Wanchai, "Automated-Generating Test Case using UML Statechart Diagrams," In Proc. 2003 Annual Research Conf. the South African Institute of Computer Scientists and Information Technologists on Enablement Through Technology, pp. 296-300, 2003.
  4. C. Mingsong, X. Qiu, and X. Li, "Automatic Test Case Generation for UML Activity Diagrams," In Proc. the 2006 Int'l Workshop on Automation of Software Test, pp. 2-8, ACM, 2006.
  5. G. Antoniol, L. C. Briand, M. D. Penta, and Y. Labiche, "A Case Study Using the Round-Trip Strategy for State-Based Class Testing," Proc. 13th Int'l. Symp. IEEE Software Reliability Eng., pp. 269-279, 2002.
  6. L. C. Briand, M. D. Penta, and Y. Labiche, “Assessing and Improving State-based Class Testing: A Series of Experiments,” IEEE Trans. Software Eng., Vol. 30, No. 11, pp. 770-783 , 2004. https://doi.org/10.1109/TSE.2004.79
  7. R. Binder, "Testing Object-Oriented Systems," Addison-Wesley, 2000.
  8. UML, [Online]. Available: http://www.omg.org/spec/UML
  9. N. E. Holt, L. C. Briand, and R. Torkar, “Empirical Evaluations on the Cost-Effectiveness of State-based Testing: An Industrial Case Study,” Information and Software Technology, Vol. 56, No. 8, pp. 890-910, 2014. https://doi.org/10.1016/j.infsof.2014.02.011
  10. L. Briand, Y. Labiche, Y. Wang, "Using Simulation to Empirically Investigate Test Coverage Criteria based on Statechart," Proc. 26th International Conference on Software Eng., pp. 86-95, 2004.