MPS Testing Languages - Scope Test Annotation not working

Hi all,

I followed jetbrains documentation regarding test languages (https://confluence.jetbrains.com/display/MPSD32/Testing+languages)and I was particulary interested about scope tests.

Right now I cannot make scope tests work in any case, trying with a very simple scenario as the following:

ScopeTest.JPG


This won´t work because an empty test class is generated out of this example, going a bit further in the analyzis I found out that there is no generator implemented for the ScopeTest NodeAttribute, I would expect to see something there.

Am I missing something here?

I am running MPS-134.1254 built on August 11 2014 with a 1.7.0_25-b17 jre on a windows machines.

Thanks in advance,
João Silveira
2 comments
You additionally need to wrap the node with the "Add Node Operations Test Annotation" intention, so you get to node wrapped with <check .... for error messages>

The doc is a bit misleading here and will be fixed.

Vaclav
0
Yes that was it.

Thanks for your help,
João
0

Please sign in to leave a comment.