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
    Modifier and Type
    Required Element
    Description
    The Mill of a language, such as @TestWithMCLanguage(MyDSLMill.class)
  • Element Details

    • value

      Class<?> value
      The Mill of a language, such as @TestWithMCLanguage(MyDSLMill.class)
      Returns:
      Class of a language's mill