From df59227f189e491118b99565525c3517b960474e Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 26 Jun 2018 12:00:03 +0200 Subject: [PATCH] Added a note about hidden questions, windows and tests --- components/console/helpers/questionhelper.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/console/helpers/questionhelper.rst b/components/console/helpers/questionhelper.rst index 521b6d8d82d..db7c44c9f1d 100644 --- a/components/console/helpers/questionhelper.rst +++ b/components/console/helpers/questionhelper.rst @@ -356,3 +356,9 @@ By setting the input stream of the ``QuestionHelper``, you imitate what the console would do internally with all user input through the CLI. This way you can test any user interaction (even complex ones) by passing an appropriate input stream. + +.. caution:: + + On Windows systems Symfony uses a special binary to implement hidden + questions. This means that those questions don't use the default ``Input`` + console object and therefore you can't test them on Windows.