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: docs/02-GettingStarted.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,8 +270,16 @@ Learn more about the [Cest format](http://codeception.com/docs/07-AdvancedUsage#
270
270
It's hard to write a complete test at once.
271
271
You will need to try different commands with different arguments before you find a correct path.
272
272
273
-
Since Codeception 3.0 you can pause execution in any point and enter interactive shell where you will be able to try commands in action.
274
-
All you need to do is to **call `$I->pause()` in debug mode**.
273
+
Since Codeception 3.0 you can pause the execution at any point and enter an interactive shell where you will be able to try different commands in action.
274
+
All you need to do is **call `$I->pause()`** somewhere in your test, then run the test in [debug mode](#Debugging).
275
+
276
+
Interactive Pause requires [`hoa/console`](https://hoa-project.net/) which is not installed by default. To install it, run:
277
+
278
+
{% highlight bash %}
279
+
280
+
php composer.phar require --dev hoa/console
281
+
282
+
{% endhighlight %}
275
283
276
284
{% highlight php %}
277
285
@@ -281,15 +289,15 @@ $I->pause();
281
289
282
290
{% endhighlight %}
283
291
284
-
When a test gets to this point it stops and shows a console where you can try all available commands.
292
+
The execution of the test is stopped at this point, and a console is shown where you can try all available commands "live".
285
293
This can be very useful when you write functional, acceptance, or api test.
0 commit comments