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

Include tests for Clingo encodings #318

Open
labra opened this issue Sep 26, 2020 · 0 comments
Open

Include tests for Clingo encodings #318

labra opened this issue Sep 26, 2020 · 0 comments
Labels

Comments

@labra
Copy link
Member

labra commented Sep 26, 2020

At this moment the Clingo encoder generates Clingo programs but is not really tested.

I would like that the encoder could also be tested as part of the continuous integration process, checking that the ouput of the program generated matches the expected output.

I foresee two ways to do it:

  • Inside Travis, download Clingo and run it against the generated programs to check that their output conforms with the expected output.

  • Integrate Clingo as part of the Scala program and invoke it internally. I would prefer this option because we could make transparent the usage of Clingo to the external user, but it would require to invoke Clingo inside JVM. I looked for some projects that invoke Clingo from Java and found asp4j, but it seems it is not maintained.

At this moment, I don't know yet how to do it, so any help would be appreciated.

@labra labra added the Clingo label Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant