fun wordSpec(block: WordSpecTestFactoryConfiguration.() -> Unit): TestFactory
Creates a TestFactory from the given block.
The receiver of the block is a WordSpecTestFactoryConfiguration which allows tests to be defined using the 'word-spec' style.