Loading

xUnit-like TT4V: Text-based Testing Environment for Voice-based Services
Hoijin Yoon

Hoijin Yoon, Department of Computer Engineering, Hyupsung University, Hwaseung, Kyunggi, South Korea.

Manuscript received on February 01, 2020. | Revised Manuscript received on February 05, 2020. | Manuscript published on February 30, 2020. | PP: 550-553 | Volume-9 Issue-3, February, 2020. | Retrieval Number: C4817029320/2020©BEIESP | DOI: 10.35940/ijeat.C4817.029320
Open Access | Ethics and Policies | Cite | Mendeley
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Like traditional software products, voice-based services should be tested. However, during testing, the service is activated and executed by a spoken command. Speaking the command for every test case would be very time consuming. TT4V saves testing time by enabling text-form test cases instead of voice-form test cases. It implements an xUnit-style interface. xUnit has been a de facto standard framework for testing tools for many years. Without TT4V, we roughly measured the time to speak 55 commands, listen to 55 responses, and then verify the correctness of the responses. First, we ran five of the 55 test cases without TT4V, and it took 28.03 seconds. For 55 test cases, it would be multiplied by 11 roughly. We ran 55 test cases using TT4V. It took only 0.61 seconds from executing the test cases to showing the analysis of the testing results.
Keywords: Voice-based services, unit testing, xUnit framework, test automation