Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Testing framework: Aluminum vs. Alloy #8

Closed
tnelson opened this issue Jul 25, 2012 · 3 comments
Closed

Testing framework: Aluminum vs. Alloy #8

tnelson opened this issue Jul 25, 2012 · 3 comments
Assignees

Comments

@tnelson
Copy link
Collaborator

tnelson commented Jul 25, 2012

We want to test:

(a) Soundness of minimal models ("If we present a model, it is minimal for the spec.")
(b) Completeness of minimal models ("If a model is minimal for the spec, we provide it up to isomorphism.")

(c) Soundness of augmentation ("If we produce a model M' as an augment of M by F on A, M' is a minimal model in that category.")
(d) Completeness of augmentation ("If A is satisfiable by a model containing M+F, we produce a minimal such.")

On small specs, we can test these vs. the model-sets generated by Alloy. (There is a nice justification of this strategy: the small-model hypothesis!)

@tnelson
Copy link
Collaborator Author

tnelson commented Jul 30, 2012

Salman introduced AluminumTester for (a), (b); need to see if it addresses (c), (d) as well.

@ghost ghost assigned salmans Jul 30, 2012
@tnelson
Copy link
Collaborator Author

tnelson commented Aug 3, 2012

Does not address (c) and (d). This is an open question re: methods of testing, since order of model enumeration can change across versions and platforms...

@tnelson
Copy link
Collaborator Author

tnelson commented Aug 7, 2012

Soundness of consistent-fact set is easy to test (does there exist some Alloy model containing p(min)+F for each F?)

Completeness is harder. Must check all models in cone to make sure none of them contain F. But can still be done, right?

@tnelson tnelson closed this as completed Aug 31, 2012
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants