• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (05): 884-890.

• 论文 • 上一篇    下一篇

CNONIX标准符合性测试研究

吴洁明,李硕征   

  1. (北方工业大学信息工程学院,北京 100144)
  • 收稿日期:2013-01-17 修回日期:2013-04-03 出版日期:2014-05-25 发布日期:2014-05-18
  • 基金资助:

    国家科技部支撑计划课题基金资助项目(2012BAH04f03)

Research on the compliance testing of CNONIX standard          

WU Jieming,LI Shuozheng   

  1. (College of Information Engineering,North China University of Technology,Beijing 100144,China)
  • Received:2013-01-17 Revised:2013-04-03 Online:2014-05-25 Published:2014-05-18

摘要:

CNONIX标准规范了图书出版行业在信息交互过程中的数据项及其格式,提高了数据质量和使用效率。为了保证第三方软件能够正确地生成符合CNONIX标准的XML文件以及检测一个XML文件是否符合CNONIX标准,提出了相关的标准符合性测试方法;对CNONIX标准中规定的元素属性进行了研究并且分析了其对测试用例的影响;设计了XML文件对于CNONIX标准符合性的检测规则;最后提供了一个应用实例对检测规则予以说明。

关键词: CNONIX标准, 符合性测试, 软件测试, 测试用例

Abstract:

CNONIX (China Online Information Exchange) standard specifies the data and data format used in the procedure of online information exchange in the field of press and publication, which enhances the quality of the data and the efficiency of the exchanging procedure.To ensure that a thirdpart software can produce XML files under the CNONIX standard and check if an XML file conforms to the standard, a compliance testing method is proposed.Attributes of data in CNONIX standard are studied and their impact on test suite is analyzed.Then,a series of rules for testing the XML files are designed.At last, an application case is used to explain the testing flow.

Key words: CNONIX;standard compliance testing;software testing;test case