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
Saves a screenshot of each step in acceptance tests and shows them as a slideshow on one HTML page.
70
+
Saves a screenshot of each step in acceptance tests and shows them as a slideshow on one HTML page (here's an [example](http://codeception.com/images/recorder.gif))
71
71
Activated only for suites with WebDriver module enabled.
Copy file name to clipboardExpand all lines: changelog.markdown
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,13 @@ title: Codeception Changelog
7
7
8
8
# Changelog
9
9
10
+
#### 2.3.2
11
+
12
+
***[Db]** Fixed: Database has been cleaned up between tests even with `cleanup: false`.
13
+
***[Db]** Made `dump` optional if `populator` is set. Fixes [#4247](https://github.com/Codeception/Codeception/issues/4247)
14
+
* Fixed `generate:suite` command to create a directory for the suite. Fixes [#4251](https://github.com/Codeception/Codeception/issues/4251)
15
+
* Fixed composer autoloading with PHPUnit 6 by **[enumag](https://github.com/enumag)**. See [#4262](https://github.com/Codeception/Codeception/issues/4262)
16
+
10
17
#### 2.3.1
11
18
12
19
* Updated composer constraints to include PHPUnit 6.x
cleanup: true # All doctrine queries will be wrapped in a transaction, which will be rolled back at the end of each test
35
36
36
37
37
38
{% endhighlight %}
38
39
39
-
This will use static method of `MyDb::createEntityManager()` to establish EntityManager.
40
+
This will use static method of `MyDb::createEntityManager()` to establish the Entity Manager.
40
41
41
-
By default module will wrap everything into transaction for each test and rollback it afterwards. By doing this
42
-
tests won't write anything to database, and so will run much faster and will be isolate dfrom each other.
43
-
This behavior can be changed by specifying `cleanup: false` in config.
42
+
By default, the module will wrap everything into a transaction for each test and roll it back afterwards. By doing this
43
+
tests will run much faster and will be isolated from each other.
44
44
45
45
### Status
46
46
@@ -50,17 +50,6 @@ This behavior can be changed by specifying `cleanup: false` in config.
50
50
51
51
### Config
52
52
53
-
* cleanup: true - all doctrine queries will be run in transaction, which will be rolled back at the end of test.
54
-
* connection_callback: - callable that will return an instance of EntityManager. This is a must if you run Doctrine without Zend2 or Symfony2 frameworks
55
-
56
-
#### Example (`functional.suite.yml`)
57
-
58
-
modules:
59
-
enabled: [Doctrine2]
60
-
config:
61
-
Doctrine2:
62
-
cleanup: false
63
-
64
53
### Public Properties
65
54
66
55
*`em` - Entity Manager
@@ -70,7 +59,7 @@ This behavior can be changed by specifying `cleanup: false` in config.
70
59
71
60
#### dontSeeInRepository
72
61
73
-
Flushes changes to database and performs ->findOneBy() call for current repository.
62
+
Flushes changes to database and performs `findOneBy()` call for current repository.
0 commit comments