docs/learn/example-01-target.md in teuton-2.1.11 vs docs/learn/example-01-target.md in teuton-2.2.2
- old
+ new
@@ -1,18 +1,18 @@
[<< back](README.md)
-1. [Definition section](#definition-section)
-2. [Execution section](#execution-section)
-3. [Run test](#run-test)
-4. [Output reports](#output-reports)
-
# Example: learn-01-target
+> This example is on GitHub repository at `examples/learn-01-target/`.
+
Let's learn how to create our first target.
A target is a feature you want to measure or check.
-> This example is on GitHub repository at `examples/learn-01-target/`.
+1. [Definition section](#definition-section)
+2. [Execution section](#execution-section)
+3. [Run test](#run-test)
+4. [Output reports](#output-reports)
## Definition section
Test definition section (Group):
```ruby
@@ -52,41 +52,41 @@
**Let's see example**: Executing ` teuton run examples/learn-01-target` command.
```bash
[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] Pwd => /home/david/proy/repos/teuton.d/teuton
[INFO] TestName => learn-01-target
==================================
-Executing [teuton] (version 2.1.9)
-[INFO] Running in parallel (2020-04-18 21:32:16 +0100)
+Executing [teuton] (version 2.2.0)
+[INFO] Running in parallel (2020-10-10 12:29:34 +0100)
.
-[INFO] Duration = 0.003 (2020-04-18 21:32:16 +0100)
+[INFO] Duration = 0.002 (2020-10-10 12:29:34 +0100)
==================================
INITIAL CONFIGURATIONS
-+---------------+-------------------------------------------+
-| tt_title | Executing [teuton] (version 2.1.9) |
-| tt_scriptname | examples/learn-01-target/start.rb |
-| tt_configfile | examples/learn-01-target/config.yaml |
-| tt_pwd | /mnt/home/leap/proy/repos/teuton.d/teuton |
-| tt_testname | learn-01-target |
-| tt_sequence | false |
-+---------------+-------------------------------------------+
++---------------+----------------------------------------+
+| tt_title | Executing [teuton] (version 2.2.0) |
+| tt_scriptname | examples/learn-01-target/start.rb |
+| tt_configfile | examples/learn-01-target/config.yaml |
+| tt_pwd | /home/david/proy/repos/teuton.d/teuton |
+| tt_testname | learn-01-target |
+| tt_sequence | false |
++---------------+----------------------------------------+
CASE RESULTS
+------+-----------+-------+-------+
| CASE | MEMBERS | GRADE | STATE |
| 01 | anonymous | 100.0 | |
+------+-----------+-------+-------+
FINAL VALUES
+-------------+---------------------------+
-| start_time | 2020-04-18 21:32:16 +0100 |
-| finish_time | 2020-04-18 21:32:16 +0100 |
-| duration | 0.003310235 |
+| start_time | 2020-10-10 12:29:34 +0100 |
+| finish_time | 2020-10-10 12:29:34 +0100 |
+| duration | 0.002187719 |
+-------------+---------------------------+
```
## Output reports
@@ -114,20 +114,20 @@
GROUPS
- Learn about targets
01 (1.0/1.0)
Description : Create user david
Command : id david
- Duration : 0.003 (local)
+ Duration : 0.002 (local)
Alterations : find(david) & count
Expected : Greater than 0 (String)
Result : 1 (Integer)
RESULTS
+--------------+---------------------------+
| case_id | 01 |
-| start_time | 2020-04-18 21:32:16 +0100 |
-| finish_time | 2020-04-18 21:32:16 +0100 |
-| duration | 0.002835857 |
+| start_time | 2020-10-10 12:29:34 +0100 |
+| finish_time | 2020-10-10 12:29:34 +0100 |
+| duration | 0.001781893 |
| unique_fault | 0 |
| max_weight | 1.0 |
| good_weight | 1.0 |
| fail_weight | 0.0 |
| fail_counter | 0 |