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
Copy file name to clipboardExpand all lines: _posts/2019-04-20-codeception-3.0.markdown
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ Maintaining such project that tries to embrace all kind of frameworks and CMSes,
11
11
12
12
Ok, so what about Codeception 3.0?
13
13
14
-
####Breaking Changes
14
+
### Breaking Changes
15
15
16
-
#####PHPUnit 8 Support
16
+
#### PHPUnit 8 Support
17
17
18
18
In 3.0 release we didn't break a lot of stuff. We tried, but probably we just leave that for next major release.
19
19
So we do not bump supported PHP version. We are still **PHP 5.6+ compatible**, just because testing should be available for everyone. We still support all major frameworks and we keep PHPUnit 6, and PHPUnit 7 compatibility.
@@ -27,7 +27,7 @@ However, keeping all that parts together is hard. So we assume, in 3.0 you can g
27
27
We say thank you to our core contributor **@Naktibalda** to bring PHPUnit 8 support without breaking compatibilitiy.
28
28
That was huge job, and if you look into our `codeception/phpunit-wrapper` project you will understand why.
29
29
30
-
#####Modules Removed
30
+
#### Modules Removed
31
31
32
32
We also decided to drop some of old modules, which we hope no one uses. Here they are
33
33
@@ -40,7 +40,7 @@ We also decided to drop some of old modules, which we hope no one uses. Here the
40
40
41
41
If you need them, just copy their code from the 2.5 branch and create a custom helper. However, we won't support them any longer.
42
42
43
-
#####Changed Defaults
43
+
#### Changed Defaults
44
44
45
45
If you use multi-session testing and `$I->haveFriend` commands, you will see your tests fail. `Friend` methods no longer included into `Codeception\Actor` class, so you should add them manually. In your `AcceptanceTester` class (or other class which uses multi session testing) include `Codeception\Lib\Actor\Shared` trait:
46
46
@@ -55,11 +55,11 @@ class AcceptanceTester extends \Codeception\Actor
55
55
56
56
We also disabled conditional assertions for new setups (as people regularly misuse them), so if you want to use `canSee` methods you will need to enable them. We will take a look on that in next sections of this post.
57
57
58
-
####Features
58
+
### Features
59
59
60
60
M-m-m... Now the most tasty thing. Yes, we wouldn't do the major release without new features. Thanks to sponsorship from **Seravo** we could finish some features we had in our roadmap.
61
61
62
-
#####Improved Interactive Shell
62
+
#### Improved Interactive Shell
63
63
64
64
This feature was backported from our friendly project [CodeceptJS](https://codecept.io).
65
65
It brings a new full featured REPL interface into a test, so you could pause test execution and fire different commands into console.
@@ -79,7 +79,7 @@ Unlike, previous interactive shell implementation, this one based on `hoa/consol
79
79
80
80
Learn more about using interactive shell in our [updated Getting Started guide](https://codeception.com/docs/02-GettingStarted#Interactive-Pause)
81
81
82
-
#####Try & Retry
82
+
#### Try & Retry
83
83
84
84
Those features were introduced to make browser testing less painful. In the world full of JavaScript and Single Page Applications, you can no longer rely on single `click`, or `fillField` commands. Sometimes you need to retry action few times to make perform it.
0 commit comments