You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it's convenient to reuse specs - like testing a subclass (e.g Calculator and AdvancedCalculator).
DSL
classCalculatorSpec: SubjectSpek<Calculator>({
...
});
classAdvancedCalculatorSpec: SubjectSpek<AdvancedCalculator>({
includeSubjectSpek(CalculatorSpec::class) // or an extension fun itBehavesLike(CalculatorSpec::class)
});
Sometimes it's convenient to reuse specs - like testing a subclass (e.g
Calculator
andAdvancedCalculator
).DSL
In KSpec we something like this:
Depends on #87.
The text was updated successfully, but these errors were encountered: