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
Failure in `specify` block won't get your test stopped.
69
68
70
69
```php
@@ -80,6 +79,48 @@ $this->assertTrue(true);
80
79
81
80
If a test fails you will specification text in the result.
82
81
82
+
## Isolation
83
+
84
+
Isolation is achieved by **cloning object properties** for each specify block.
85
+
By default objects are cloned using deep cloning method.
86
+
This behavior can be customized in order to speed up test execution by preventing some objects from cloning or switching to shallow cloning using `clone` operator.
87
+
Some properties can be ignored from cloning using either global or local config settings.
Include `Codeception\Specifiy` trait into your test.
168
209
169
-
## Configuration
170
-
171
-
Specify clones all properties of current testcase for all specify blocks.
172
-
By default Specify clones all objects using deep cloning method.
173
-
This behavior can be customized in order to speed up test execution by preventing some objects from cloning or switching to shallow cloning using `clone` operator.
0 commit comments