Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Externalize test #3

Open
benzen opened this issue Feb 8, 2018 · 3 comments
Open

Externalize test #3

benzen opened this issue Feb 8, 2018 · 3 comments

Comments

@benzen
Copy link

benzen commented Feb 8, 2018

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
Copy link
Owner

elgs commented Feb 8, 2018

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

@benzen
Copy link
Author

benzen commented Feb 8, 2018

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

For each test case:

  • a json file that contains the context on which we operate
  • a text file with the expression being evaluated
  • json/text file with the result of the evaluation

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
Copy link
Owner

elgs commented Feb 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants