elgs / jsonql

JSON query expression library in Golang.
Other
276 stars 36 forks source link

Externalize test #3

Open benzen opened 6 years ago

benzen commented 6 years ago

Hi,

I m working on a templating system that aims to be language independant (https://github.com/caolan/magery). On piece that we are missing right know is an expression language.

I be looked at this project and it seems to fit our needs. Since we have implementation in multiple language we would need multiple implementation of jsonql.

Here is where I would need your help. Could you define a language independant test suite ? This would help us in the process of implementing jsonql in other languages.

Regards

elgs commented 6 years ago

What did you mean by define a language independent test suite?

benzen commented 6 years ago

A series of files that could be read and easly interpreted with any language.

For each test case:

This way anybody would be able to build another implementation (in what ever language they please) of jsonql, and still deliver the same result.

This test suite would serve as a standard.

elgs commented 6 years ago

Thanks. Now I understand what you meant. That's a good idea. But I don't have much incentive to do this at this moment of time because I'm overwhelmed by my other stuffs. Nevertheless, if you have any specific questions about the implementation of jsonql, or you'd like to make some pull requests about it, I will be glad to assist.