idea-plugin / arrow.meta.ide.testing.env / runTest


fun <F : IdeSyntax, A> IdeTest<F, A>.runTest(fixture: CodeInsightTestFixture, ctx: F, interpreter: (test: IdeTest<F, A>, ctx: F, fixture: CodeInsightTestFixture) -> Unit = ::interpreter): Unit

runTest executes the test with a custom interpreter, which facilitates to run a test in any environment, based on a plugin context F. Hence, the Testing DSL for IntelliJ supports pure or impure Test environments and allows to compose them in a variety of testing methods such as property-based testing, unit tests and many more.

See Also


Do you like Arrow?

Arrow Org