首页> 外文会议>International conference on tests and proofs;Software technology: applications and foundations >Unit Testing of Database-Driven Java Enterprise Edition Applications
【24h】

Unit Testing of Database-Driven Java Enterprise Edition Applications

机译:数据库驱动的Java Enterprise Edition应用程序的单元测试

获取原文

摘要

The Java Enterprise Edition (Java EE) platform and its persistence API are widely adopted technologies to develop applications that interact with database systems. Many control flows of these applications strongly depend on a specific database state. This paper presents an automatic test-case generation approach for applications in this environment. The approach generates both test data for the application's input, as well as entity objects for the different database states that are required to cover a respective control flow. We integrate constraints from symbolically executing a control flow with constraints on a required database state. We also support typical Java EE functionalities in the symbolic execution, e.g. dependency injection. An experimental evaluation shows an increase in control-flow coverage by our approach.
机译:Java Enterprise Edition(Java EE)平台及其持久性API是开发与数据库系统交互的应用程序的广泛采用的技术。这些应用程序的许多控制流都强烈依赖于特定的数据库状态。本文提出了一种针对这种环境下的应用程序的自动测试用例生成方法。该方法既为应用程序的输入生成测试数据,又为涵盖相应控制流所需的不同数据库状态生成实体对象。我们将符号执行控制流的约束与所需数据库状态的约束集成在一起。我们还在符号执行中支持典型的Java EE功能,例如依赖注入。实验评估表明,通过我们的方法,控制流覆盖率有所提高。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号