OData Specification Test Cases

35 views
Skip to first unread message

Hanak, Petr

unread,
Aug 28, 2021, 5:27:27 AM8/28/21
to odata-di...@googlegroups.com

Hi All.

 

Searching for something to check if a client library is 100% Odata V2 / Odata V4 compliant.

 

I have stumbled upon odata-valiator, but that is for service if is compliant. Are there any complete tests for odata specification itself? I would expect either static examples of valid and invalid metadata files, responses, URLs, or ideally sample service that could be run in Docker to run integration tests against.

 

Any idea?

 

Handl, Ralf

unread,
Sep 2, 2021, 5:26:34 AM9/2/21
to Hanak, Petr, odata-di...@googlegroups.com

Hi Petr,

 

We do have a set of positive and negative test cases for the OData ABNF for URLs, which have been used to test implementations of URL parsers: https://github.com/oasis-tcs/odata-abnf/tree/main/abnf

 

Example metadata files using all valid constructs can be found here: https://github.com/oasis-tcs/odata-csdl-schemas/tree/main/examples

 

The easiest way I know to build a sample OData V4 service running on Node.js with SQLite is https://cap.cloud.sap/:

 

Hope this helps!
Ralf

--
You received this message because you are subscribed to the Google Groups "OData Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to odata-discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/odata-discussion/AM0PR02MB3619E677E150CC6AE556786187C99%40AM0PR02MB3619.eurprd02.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages