Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.5 KB

File metadata and controls

49 lines (35 loc) · 1.5 KB

<< back

feedback

Exporting with false feedback option export feedback: false, hide some items from output reports. Hiden items: command, alterations, expected and result.

More information about export keyword.

Example

play do
  show
  export feedback: false
  export format: "html", feedback: false
end

Description

Every time teuton is run, all cases are evaluated and when exporting the results, by default, all the information collected during the evaluation process is logged.

Each target contains following fields:

  • Identification: id, description
  • Evaluation result: check(true/false)
  • Punctuation: score, weight
  • Check process: conn_type, command, duration, alterations, expected and result

Some of these fields should always be visible, such as: id, description, check, score, and weight. And others, more related to the process that perform teuton for verification can be hidden using the feedback: false parameter.

With feedback: false the fields are hidden: command, alterations, expected and result.

Results

Executing teuton run examples/13-feedback, we get this output:

GROUPS
- Hide feedback messages from output
    01 (1.0/1.0)
        Description : Service SSH disabled
        Command     : *********************
        Output      : *********
        Duration    : 0.011 (local)
        Alterations : **********************
        Expected    : **************
        Result      : ********