Package de.monticore.runtime.junit
Annotation Interface TestWithMCLanguage
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@ExtendWith(MCLanguageTestExtension.class)
public @interface TestWithMCLanguage
Performs the tests within the scope of a language.
This means a freshly initialized mill for each test
and a Log without Findings.
After ech test, the language's mill is reset.
No Findings MUST be present after a test (see
MCAssertions)
Also includes the hooks of the AbstractMCTest-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueThe Mill of a language, such as@TestWithMCLanguage(MyDSLMill.class)- Returns:
- Class of a language's mill
-