enum class IsolationMode
SingleInstance |
A single instance of the Spec class is instantiated, and then used for every TestCase. |
InstancePerTest |
A new instance of the Spec class is instantiated for every TestCase - both containers and leaf tests - and they are executed once the previous test has completed. |
InstancePerLeaf |
A new instance of the Spec class is instantiated for every leaf TestCase. Container test cases are executed only as part of the path to a leaf test. |