Sha256: ed462cfd1312e9e2cfb3ed0f6e42e00e727e27f163ae8d644afa4d104881c9d1

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 KB

Contents

[<< back](README.md)

# Check Teuton Test

Objective: Revise Teuton test located into `example\learn-01-target`.

Usage:

```
teuton check examples/learn-01-target
```

Example:

```bash
> teuton check examples/learn-01-target
[INFO] ScriptPath => examples/learn-01-target/start.rb
[INFO] ConfigPath => examples/learn-01-target/config.yaml
[INFO] Pwd        => /mnt/home/leap/proy/repos/teuton.d/teuton
[INFO] TestName   => learn-01-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     |
| Goto         | 1     |
|  * localhost | 1     |
| Uniques      | 0     |
| Logs         | 0     |
|              |       |
| Gets         | 0     |
| Sets         | 0     |
+--------------+-------+
+----------------------+
| Revising CONFIG file |
+----------------------+
[WARN] File /mnt/home/leap/proy/repos/teuton.d/teuton/examples/learn-01-target/config.yaml not found!
[INFO] Recomended content:
---
:global:
:cases:
- :tt_members: VALUE
```

> The check process notifies that this Test Unit hasn't config file, and Teuton recommends content for config file. But it isn't necessary for this example.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teuton-2.1.11 docs/commands/example_check.md
teuton-2.1.10 docs/commands/example_check.md
teuton-2.1.9 docs/commands/example_check.md