摘要
CNONIX标准规范了图书出版行业在信息交互过程中的数据项及其格式,提高了数据质量和使用效率。为了保证第三方软件能够正确地生成符合CNONIX标准的XML文件以及检测一个XML文件是否符合CNONIX标准,提出了相关的标准符合性测试方法;对CNONIX标准中规定的元素属性进行了研究并且分析了其对测试用例的影响;设计了XML文件对于CNONIX标准符合性的检测规则;最后提供了一个应用实例对检测规则予以说明。
CNONIX (China Online Information Exchange) standard specifies the data and data for- mat used in the procedure of online information exchange in the field of press and publication, which en- hances 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.
出处
《计算机工程与科学》
CSCD
北大核心
2014年第5期884-890,共7页
Computer Engineering & Science
基金
国家科技部支撑计划课题基金资助项目(2012BAH04f03)