Tools Transcript/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
(9 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
This is useful to generate output which should not end up in the expecco activity log - |
This is useful to generate output which should not end up in the expecco activity log - |
||
i.e. usually |
i.e. usually informal or debug messages. If no Transcript is open, such messages are simply ignored. |
||
Notice, that the more sophisticated development launcher (which can also be opened via the tools menu) also embeds a transcript window. If the launcher is open, transcript messages will appear there. |
|||
For API Functions, see [[Expecco_API#Transcript|Expecco API]]. |
For API Functions, see [[Expecco_API#Transcript|Expecco API]]. |
||
Zeile 13: | Zeile 15: | ||
By default, the Transcript buffers and remembers the last 1000 lines. |
By default, the Transcript buffers and remembers the last 1000 lines. |
||
You can change this number (eg. to 50000) for the current transcript window |
You can change this number (eg. to 50000) for the current transcript window |
||
via its right-button menu ("''More''" |
via its right-button menu ("''More''" → "''Set Line Limit...''"). |
||
Starting with expecco 20.2, the initial default can also be changed via the |
Starting with expecco 20.2, the initial default can also be changed via the |
||
settings: "''Extras''" |
settings: "''Extras''" → "''Settings''" → "''Internal Tools''". |
||
This will then be the initial value for followup expecco sessions. |
<br>This will then be the initial value for followup expecco sessions. |
||
== Prefix for Transcript Output == |
|||
An environment variable called<code>__Transcript_Prefix__</code> can be defined in a test suite. |
|||
When text from this test suite is written to Transcript, the value of the variable is also output as a prefix. |
|||
The value of that variable can be changed during the testrun, for different prefixes to appear. |
|||
Back to [[Online_Documentation#Tools | Online Documentation]]. |
Back to [[Online_Documentation#Tools | Online Documentation]]. |
||
<br>Back to [[More_Tools/en | Tools]]. |
|||
[[Category: Tools]] |
[[Category: Tools]] |
Aktuelle Version vom 9. April 2025, 13:34 Uhr
The transcript is a simple console-like window for information messages. You can send textual output to it either via the programmer's API, or via existing blocks from the Standard Library.
This is useful to generate output which should not end up in the expecco activity log - i.e. usually informal or debug messages. If no Transcript is open, such messages are simply ignored.
Notice, that the more sophisticated development launcher (which can also be opened via the tools menu) also embeds a transcript window. If the launcher is open, transcript messages will appear there.
For API Functions, see Expecco API.
For Standard Library Blocks, see StandardLibrary.
Number of Buffered Lines[Bearbeiten]
By default, the Transcript buffers and remembers the last 1000 lines. You can change this number (eg. to 50000) for the current transcript window via its right-button menu ("More" → "Set Line Limit...").
Starting with expecco 20.2, the initial default can also be changed via the
settings: "Extras" → "Settings" → "Internal Tools".
This will then be the initial value for followup expecco sessions.
Prefix for Transcript Output[Bearbeiten]
An environment variable called__Transcript_Prefix__
can be defined in a test suite.
When text from this test suite is written to Transcript, the value of the variable is also output as a prefix. The value of that variable can be changed during the testrun, for different prefixes to appear.
Back to Online Documentation.
Back to Tools.