Abstracting test cases from application program interfaces
First Claim
Patent Images
1. A computer-implemented method comprising:
- converting a first hierarchical representation of information or data into a file using, at least in part, software code that is under test, the software code under test being configured to perform serialization, the converting comprising converting the first hierarchical representation into an object model and then, using the software code that is under test to serialize the object model to the file by making a series of Application Program Interface (API) calls to production APIs that are under test;
converting the file into a second hierarchical representation of information or data; and
comparing the first and second hierarchical representations to ascertain whether the software code under test is valid.
2 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments provide a testing infrastructure that abstracts test cases from APIs in a manner that allows for round tripping between production and consumption and APIs.
25 Citations
12 Claims
-
1. A computer-implemented method comprising:
-
converting a first hierarchical representation of information or data into a file using, at least in part, software code that is under test, the software code under test being configured to perform serialization, the converting comprising converting the first hierarchical representation into an object model and then, using the software code that is under test to serialize the object model to the file by making a series of Application Program Interface (API) calls to production APIs that are under test; converting the file into a second hierarchical representation of information or data; and comparing the first and second hierarchical representations to ascertain whether the software code under test is valid. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented method comprising:
-
converting a first file into a hierarchical representation of information or data using, at least in part, software code that is under test, the software code being configured to perform deserialization, the converting comprising converting the first file into an object model using the software code that is under test and then converting the object model into the hierarchical representation by making a series of Application Program Interface (API) calls to consumption APIs; converting the hierarchical representation into a second file; and comparing the first and second files to ascertain whether the software code under test is valid. - View Dependent Claims (7, 8)
-
-
9. A computer-implemented method comprising:
-
providing a testing infrastructure that is to be utilized to test developer code that is to process XML Paper Specification (XPS) data, the developer code being configured to perform at least one of serialization or deserialization; and using the testing infrastructure to abstract test cases from APIs under test in a manner that allows for round tripping between production and consumption APIs by using a comparison module to compare hierarchical representations of information or data to ascertain whether the hierarchical representations are semantically the same or similar, wherein if the hierarchical representations are semantically the same or similar, then validating the developer code, the act of using further comprising producing first and second object models. - View Dependent Claims (10, 11, 12)
-
Specification