apalache icon indicating copy to clipboard operation
apalache copied to clipboard

Update `ScopedBuilder` testing framework to test for (well-typed) malformed expressions

Open Kukovec opened this issue 2 years ago • 0 comments

BuilderTest offers testing templates, which accept a sequence constructor for a sequence of ill-typed expressions (mkIllTyped), then check that attempting to build any of them causes a TBuilderTypeException. The templates should also take sequence constructors for expressions that trigger TBuilderScopeExceptions (shadowing) or IllegalArgumentException (require checks) in the same fashion.

Kukovec avatar Jul 12 '22 15:07 Kukovec