Package io.micronaut.starter.options
Interface TestRockerModelProvider
- All Superinterfaces:
JunitRockerModelProvider
- All Known Implementing Classes:
AbstractTestRockerModelProvider
,CreateCommandCommand.CustomTestRockerModelProvider
,DefaultTestRockerModelProvider
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.fizzed.rocker.RockerModel
findModel
(Language language, TestFramework testFramework) com.fizzed.rocker.RockerModel
koTest()
com.fizzed.rocker.RockerModel
spock()
Methods inherited from interface io.micronaut.starter.options.JunitRockerModelProvider
findJunitModel, groovyJunit, javaJunit, kotlinJunit
-
Method Details
-
findModel
default com.fizzed.rocker.RockerModel findModel(Language language, TestFramework testFramework) throws IllegalArgumentException - Parameters:
language
- Selected languagetestFramework
- selected test framework- Returns:
- A
RockerModel
- Throws:
IllegalArgumentException
- if the test framework / language combination is not handled
-
spock
com.fizzed.rocker.RockerModel spock()- Returns:
RockerModel
forTestFramework.SPOCK
-
koTest
com.fizzed.rocker.RockerModel koTest()- Returns:
RockerModel
forTestFramework.KOTEST
-