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

tests of correctness of slugs? #15

Open
slivingston opened this issue Aug 23, 2016 · 2 comments
Open

tests of correctness of slugs? #15

slivingston opened this issue Aug 23, 2016 · 2 comments

Comments

@slivingston
Copy link
Contributor

Are there unit tests or other kinds of tests that demonstrate correctness of slugs? E.g., this might be a collection of tests that are performed using

make check

or make test, which would be run after cd src; make as in the README.

@progirep
Copy link
Contributor

progirep commented Aug 24, 2016

Hi Scott. This is definitely something that is on the TODO list, especially since we now also use TravisCI (not part of the master branch as of now, but there is a separate branch since a two weeks).

Right now, pretty much all testing that we perform is done by fuzz testing. There is, for example, the script "slugsFuzzer.py", which tests the generated implementations against NuSMV. There also was once a script for comparing the realizability/unrealizability results of those with the safety synthesis tool "aisy". Together, that provides a little bit of automated testing, but the majority of plug-ins are left out. The scripts are also not engineered to be used by the end user yet (no documentation on where to put the NuSMV executable, etc.) yet. So this is clearly a TODO.

@progirep
Copy link
Contributor

An automated test script that checks the realizability/unrealizability results of some examples has been added to the master branch of slugs. That's certainly not a thorough test, but at least allows one to check the installation. Run " tools/testSomeExamples.py" from the slugs root directory to run the tests.

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