arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1703.07034cs.SE
收藏

基于模型的Java网络API测试

Model-based Testing of the Java Network API

Cyrille Artho, Guillaume Rousset

摘要:

测试网络系统是一项挑战。客户端或服务器端不能单独测试。我们提出了一个解决方案,使用工具“Modbat”,生成Java的网络库java.nio,在那里我们测试阻塞和非阻塞网络功能的测试用例。我们的测试模型可以动态地模拟多个工作线程和客户线程中的操作,这要归功于精心编排的设计,在确保进度的同时涵盖了非确定性。

英文摘要:

Testing networked systems is challenging. The client or server side cannot be tested by itself. We present a solution using tool "Modbat" that generates test cases for Java's network library java.nio, where we test both blocking and non-blocking network functions. Our test model can dynamically simulate actions in multiple worker and client threads, thanks to a carefully orchestrated design that covers non-determinism while ensuring progress.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑