WinterRule

class WinterRule(application: WinterApplication = Winter, block: PluginBuilderBlock) : ExternalResource(source)

JUnit4 rule that builds and installs a Winter with block for each test and uninstalls it after each test.

This is useful to extend and observe the applications dependency graph during tests.

For more details see io.jentz.winter.plugin.PluginBuilder.

Constructors

Link copied to clipboard
constructor(application: WinterApplication = Winter, block: PluginBuilderBlock)

Functions

Link copied to clipboard
open fun apply(base: Statement?, description: Description?): Statement?