Sha256: d8067eb93946b4f27114cc9eaea5c39a59961a9d6119b94fd2b84d9b3e689f99

Contents?: true

Size: 1.52 KB

Versions: 10

Compression:

Stored size: 1.52 KB

Contents

[<< back](README.md)

# Check Teuton Test

| Param            | Description            | Default value |
| ---------------- | ---------------------- | ------------- |
| --no-panelconfig | Show check information | Enabled |
| --panelconfig    | Only show config file recomended content | Disabled |
| --cpath          | Specify path to config file | TEST-FOLDER/config.yaml |
| --cname          | Specify name to config file | config.yaml |

Usage:

```
teuton check PATH-TO-TEST-FOLDER
```

Example:

```bash
❯ teuton check examples/02-target

+----------------------------+
| GROUP: Learn about targets |
+----------------------------+
(001) target      Create user david
      weight      1.0
      run         'id david' on localhost
      expect      david (String)

+--------------+-------+
| DSL Stats    | Count |
+--------------+-------+
| Groups       | 1     |
| Targets      | 1     |
| Runs         | 1     |
|  * localhost | 1     |
| Uniques      | 0     |
| Logs         | 0     |
|              |       |
| Gets         | 0     |
| Sets         | 0     |
+--------------+-------+
+----------------------+
| Revising CONFIG file |
+----------------------+
[WARN] Configfile not found
       /home/david/proy/repos/teuton.d/teuton/examples/02-target/config.yaml
[INFO] Recomended content:
---
:global:
:cases:
- :tt_members: VALUE
```

The check process notifies that
* This test hasn't config file
* and recommends content for our config file. But it isn't necessary for this example.
* exit_code 0 = Syntax ok.
* exit code 1 = Syntax ERROR.

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
teuton-2.9.2 docs/commands/example_check.md
teuton-2.9.1 docs/commands/example_check.md
teuton-2.9.0 docs/commands/example_check.md
teuton-2.8.0 docs/commands/example_check.md
teuton-2.7.3 docs/commands/example_check.md
teuton-2.7.2 docs/commands/example_check.md
teuton-2.7.1 docs/commands/example_check.md
teuton-2.7.0 docs/commands/example_check.md
teuton-2.6.0 docs/commands/example_check.md
teuton-2.5.0 docs/commands/example_check.md