jMoped: A Test Environment for Java Programs
jMoped: A Test Environment for Java Programs
复制标题
DOI:
10.1007/978-3-540-73368-3_19
复制
发表时间:
2007-07
期刊:
影响因子:
--
通讯作者:
Dejvuth Suwimonteerabuth;F. Berger;Stefan Schwoon;J. Esparza
中科院分区:
文献类型:
--
作者:
Dejvuth Suwimonteerabuth;F. Berger;Stefan Schwoon;J. Esparza
We present jMoped [1], a test environment for Java programs. Given a Java method, jMoped can simulate its execution for all possible arguments within a finite range and generate coverage information for these executions. Moreover, it checks for some common Java errors, i.e. assertion violations, null pointer exceptions, and array bound violations. When an error is found, jMoped finds out the arguments that lead to the error. A JUnit [2] test case can also be automatically generated for further testing.