摘要
针对拥有复杂指令系统及处理过程的网络处理器(NP)仿真器的测试,提出了一个融入数据的关键字驱动NP自动化测试系统。该系统兼有数据和关键字驱动两种测试技术的优点,可将用例自动转化成系统测试脚本,并自动生成封装有指令的VPP协议报文,通过系统的自动处理、预期及比对等过程,实现对NP仿真器在集成状态的自动测试。在实际应用中验证了这种自动测试技术可大大简化用例设计,降低编程需求,从而大幅提高测试效率,降低测试成本。
According to the testing for network processor (NP) simulator with complex instruction system & processes, a type of keyword-driven with data integrated NP simulator auto-test system is put forward. The system with advantages of two kinds of data and keyword-driven test technology, can translate the cases into the system test scripts, generate VPP packet with instructions and verify the NP emulator with integrated state automated process, prediction and comparison procedure. The autotest technology can simplify test case design, improve the efficiency and reduce cost of test.
出处
《计算机工程与设计》
CSCD
北大核心
2013年第4期1472-1475,共4页
Computer Engineering and Design
基金
国家自然科学基金项目(61163060)