기존의 연구는 FSM을 기본으로 제어흐름만을 분석하거나 시험목적을 시험열 생성 단계에서 고려하지 않음으로써 시험열의 실제 적용에 있어 많은 문제점을 갖는다. 따라서 이 연구에서는 SDL로 기술된 프로토콜 명세서를 시맨틱 모델인 LTS로 변환 후 LTS로부터 서브투어를 트리 형태로 생성하고, 여기에 시험목적을 사상시켜 서브투어 단위로 시험열을 생성하였다. 그리고 생성된 시험열을 TTCN으로 변환하고 단위 테스트를 위한 추가 정보로서 프리앰블, 포스트앰블, 리셋 정보등을 LTS로부터 생성하였다. 또한 LTS로부터 한 노드에서 전이 가능한 모든 경로를 트리로 표현함으로써 향상된 테스트 커버리지를 갖는 서브투어를 생성하였으며 SDL을 시맨틱 모델인 LTS로의 변환 또한 기존의 입력과 출력만을 고려하는 FSM에서 발생하는 비결정성 문제를 해결할 수 있다. 따라서 이 연구에서의 테스트 목적이 고려된 TTCN 표현의 테스트 케이스 생성은 적합성 시험을 위한 테스트 케이스의 실제 적용 및 프로토콜 구현의 생산성을 높일 수 있으며 테스팅 환경의 기반을 제공한다.
The conventional researches, which are based on FSM and take no account of test purpose in generation process of test case, have many problems.
In this paper, we transform protocol, which is described in SDL, into LTS, generate subtour using reachability tree derived from LTS, and then assign test purpose to subtour as a full set of test case. The test suite of subtour unit with test purpose is transformed into TTCN. We also generate preamble, postamble, reset information from LTS as additional information for unit test. The tree representation of all paths reachable from any node in LTS also enhances test coverage. The transformation of SDL into LTS can solve non-determinism which could be occurred in FSM model. Therefore the proposed test case generation with test purpose in TTCN and additional information can be easily applied to the practical application for conformance testing and ensure high quality in protocol implementation. It also provides basis of protocol testing environment.