Object based test library for WinFS data model
    1.
    发明申请
    Object based test library for WinFS data model 审中-公开
    用于WinFS数据模型的基于对象的测试库

    公开(公告)号:US20060242167A1

    公开(公告)日:2006-10-26

    申请号:US11113112

    申请日:2005-04-22

    IPC分类号: G06F17/00

    CPC分类号: G06F16/10

    摘要: A test library for use with a database storage system such as WinFS provides users with a WinFS schema agnostic way to test the WinFS store application programming interfaces (APIs) and to use the WinFS store APIs to populate the WinFS store with randomly generated data. The WinFS test library provides users with an object layer that they can program against to carry out multiple tasks on the WinFS store. Tests can use the WinFS test library to generate schema-agnostic tests that do not break if a schema is changed or removed. For instance, a user can create a WinFS schema and install it in a WinFS store. The WinFS test library will automatically validate that the schema and all of its declared types are properly installed in the store. It will also generate instances of each type, set randomly generated values for every property including nested types, call the store API to create them in the store, and then select values from the store and validate that they were set property. The WinFS test library also automatically validates Update and Delete of the types. The WinFS test library also describes both the store types (metadata) and the store data in the same framework, making it straightforward to write tests on unknown schemas.

    摘要翻译: 用于数据库存储系统(如WinFS)的测试库为用户提供了一种WinFS架构无关方式来测试WinFS存储应用程序编程接口(API),并使用WinFS存储API使用随机生成的数据填充WinFS存储。 WinFS测试库为用户提供了一个对象层,可以对其进行编程,以在WinFS存储上执行多个任务。 测试可以使用WinFS测试库来生成模式不可知测试,如果模式被更改或删除,则不会中断。 例如,用户可以创建一个WinFS架构并将其安装在WinFS存储中。 WinFS测试库将自动验证模式及其所有声明的类型是否已正确安装在存储中。 它还将生成每个类型的实例,为包含嵌套类型的每个属性设置随机生成的值,调用存储API在存储中创建它们,然后从存储中选择值并验证它们是否已设置属性。 WinFS测试库还会自动验证类型的更新和删除。 WinFS测试库还在同一框架中同时描述了存储类型(元数据)和存储数据,使得在未知模式上编写测试变得简单直观。