Using code instrumentation to enhance testing on J2ME
Using code instrumentation to enhance testing on J2ME
复制标题
使用代码检测来增强 J2ME 测试
DOI:
10.1145/1514411.1514424
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
Sama M
中科院分区:
文献类型:
--
作者:
Sama M
A wide range of J2ME applications are GUI-driven with significant code dedicated to handle the graphical user interface (GUI). To maximize the chances of detecting bugs, effective testing of such applications require end-to-end testing on devices; as some bugs are related to specific devices. Unfortunately there are few software tools, such as code coverage and GUI testing tools, suitable for testing J2ME applications. A tool which we implemented, JInjector, instruments the system under test (SUT) in order to run automated tests in emulators and on the actual devices we need to support. In this paper we discuss the theory behind two features of JInjector: code coverage, and end-to-end testing, and the results from testing a fully-featured commercial application.