Sha256: 233d20c580ebb18400042e268c760d887e734d1542ccac0b2b6d4b40a0c109af

Contents?: true

Size: 1.43 KB

Versions: 10

Compression:

Stored size: 1.43 KB

Contents

[<< back](README.md)

# 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](../dsl/execution/export.md) keyword.

Example

```ruby
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 the following fields:

* Identification: id, description
* Evaluation result: check(true/false)
* Punctuation: score, weight
* Check process: conn_type, command, duration, alterations, expected, 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
- Preserve output reports
    01 (1.0/1.0)
        Description : Exits user david
        Command     : ********
        Duration    : 0.002 (local)
        Alterations : *******************
        Expected    : ************** (String)
        Result      : ******** (String)
```

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
teuton-2.7.3 docs/learn/13-feedback.md
teuton-2.7.2 docs/learn/13-feedback.md
teuton-2.7.1 docs/learn/13-feedback.md
teuton-2.7.0 docs/learn/13-feedback.md
teuton-2.6.0 docs/learn/13-feedback.md
teuton-2.5.0 docs/learn/13-feedback.md
teuton-2.4.5 docs/learn/13-feedback.md
teuton-2.4.4 docs/learn/13-feedback.md
teuton-2.4.3 docs/learn/13-feedback.md
teuton-2.4.2 docs/learn/13-feedback.md