teuton 2.10.7 → 2.10.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -10
- data/docs/commands/README.md +1 -1
- data/docs/commands/check-example.md +15 -18
- data/lib/teuton/readme/dsl/getset.rb +5 -4
- data/lib/teuton/version.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5b35750a1b166a54ba8f1c2f8dfdf82b8f1bbeb10dbc26c954aa926ebf47209
|
|
4
|
+
data.tar.gz: 06363a74c993cfe89d182a6f8473d7f713f3351da16e2f397fe9f7dfd327c049
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec53a0570321130474a302b5863d470b8e99f051eaad3070a367374dfbeddda4e3cab5e85af02f8dbf29b9405022a440167920aface1242eed30b49243465ec7
|
|
7
|
+
data.tar.gz: bac07b9e1d452de58acade93b292cd7edf62e37bede4a2ee05d450816c6068577b7463afe986265559f94529aad0ee2a5d84bae606f46a5619afe911320224c1
|
data/README.md
CHANGED
|
@@ -21,21 +21,31 @@ Install Ruby and then:
|
|
|
21
21
|
gem install teuton
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
> **NOTE**
|
|
25
|
+
> * Available versions ([rubygems.org/gems/teuton](https://rubygems.org/gems/teuton/))
|
|
26
|
+
> * Install a specific version: `gem install teuton -v VERSION`.
|
|
27
|
+
> * Update: `gem update teuton`.
|
|
28
|
+
|
|
24
29
|
# Usage
|
|
25
30
|
|
|
26
31
|
Use `teuton run TESTPATH` command to run test:
|
|
27
32
|
|
|
28
33
|
```console
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
$ teuton run examples/02-target
|
|
35
|
+
------------------------------------
|
|
36
|
+
Started at 2025-11-12 20:15:59 +0000
|
|
37
|
+
F.
|
|
38
|
+
Finished in 0.005 seconds
|
|
39
|
+
------------------------------------
|
|
40
|
+
|
|
31
41
|
CASE RESULTS
|
|
32
|
-
|
|
33
|
-
| CASE | MEMBERS
|
|
34
|
-
| 01 |
|
|
35
|
-
|
|
42
|
+
+------+---------+-------+-------+
|
|
43
|
+
| CASE | MEMBERS | GRADE | STATE |
|
|
44
|
+
| 01 | VALUE | 33.0 | ? |
|
|
45
|
+
+------+---------+-------+-------+
|
|
36
46
|
```
|
|
37
47
|
|
|
38
|
-
|
|
48
|
+
Consult the generated [output files](examples/02-target/output.d/)
|
|
39
49
|
|
|
40
50
|
# Features
|
|
41
51
|
|
|
@@ -48,7 +58,7 @@ CASE RESULTS
|
|
|
48
58
|
# Documentation
|
|
49
59
|
|
|
50
60
|
* [Installation](docs/install/README.md)
|
|
51
|
-
* [
|
|
61
|
+
* [Learning](docs/learn/README.md)
|
|
52
62
|
* [Examples](examples)
|
|
53
63
|
* [Commands](docs/commands/README.md)
|
|
54
64
|
* [Language reference](docs/dsl/README.md)
|
|
@@ -68,5 +78,3 @@ CASE RESULTS
|
|
|
68
78
|
1. Create new Pull Request.
|
|
69
79
|
|
|
70
80
|
You can also [create issues](https://github.com/teuton-software/teuton/issues) with your requests, incidences or suggestions.
|
|
71
|
-
|
|
72
|
-
> Read [Spanish documentation](docs/es/README.md)
|
data/docs/commands/README.md
CHANGED
|
@@ -19,34 +19,31 @@ $ teuton check examples/02-target
|
|
|
19
19
|
+----------------------------+
|
|
20
20
|
| GROUP: Learn about targets |
|
|
21
21
|
+----------------------------+
|
|
22
|
-
(001) target Create user
|
|
22
|
+
(001) target Create user obiwan
|
|
23
|
+
weight 2.0
|
|
24
|
+
run 'id obiwan' on localhost
|
|
25
|
+
expect ["uid=", "(obiwan)", "gid="] (Array)
|
|
26
|
+
|
|
27
|
+
(002) target Delete user vader
|
|
23
28
|
weight 1.0
|
|
24
|
-
run 'id
|
|
25
|
-
|
|
29
|
+
run 'id vader' on localhost
|
|
30
|
+
expect_fail
|
|
26
31
|
|
|
27
32
|
+--------------+-------+
|
|
28
33
|
| DSL Stats | Count |
|
|
29
34
|
+--------------+-------+
|
|
30
35
|
| Groups | 1 |
|
|
31
|
-
| Targets |
|
|
32
|
-
| Runs |
|
|
33
|
-
| * localhost |
|
|
34
|
-
| Uniques | 0 |
|
|
35
|
-
| Logs | 0 |
|
|
36
|
-
| | |
|
|
37
|
-
| Gets | 0 |
|
|
38
|
-
| Sets | 0 |
|
|
36
|
+
| Targets | 2 |
|
|
37
|
+
| Runs | 2 |
|
|
38
|
+
| * localhost | 2 |
|
|
39
39
|
+--------------+-------+
|
|
40
|
-
+----------------------+
|
|
41
|
-
| Revising CONFIG file |
|
|
42
|
-
+----------------------+
|
|
43
40
|
[WARN] Configfile not found
|
|
44
|
-
/home
|
|
41
|
+
/home/.../examples/02-target/config.yaml
|
|
45
42
|
[INFO] Recomended content:
|
|
46
43
|
---
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
-
|
|
44
|
+
global:
|
|
45
|
+
cases:
|
|
46
|
+
- tt_members: VALUE
|
|
50
47
|
```
|
|
51
48
|
|
|
52
49
|
The check process notifies that
|
|
@@ -14,13 +14,14 @@ module ReadmeDSL
|
|
|
14
14
|
def gett(value)
|
|
15
15
|
a = get(value)
|
|
16
16
|
if @cases_params.include? value
|
|
17
|
-
"[
|
|
17
|
+
"[#{value}](#required-params)"
|
|
18
18
|
elsif @setted_params[value]
|
|
19
|
-
"[
|
|
19
|
+
"[#{value}](#created-params)"
|
|
20
20
|
elsif @global_params.include? value
|
|
21
|
-
"[
|
|
21
|
+
"[#{a}](#global-params)"
|
|
22
|
+
else
|
|
23
|
+
a
|
|
22
24
|
end
|
|
23
|
-
a
|
|
24
25
|
end
|
|
25
26
|
|
|
26
27
|
def set(key, value)
|
data/lib/teuton/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: teuton
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.10.
|
|
4
|
+
version: 2.10.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Vargas Ruiz
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: json_pure
|
|
@@ -122,8 +121,8 @@ executables:
|
|
|
122
121
|
- teuton
|
|
123
122
|
extensions: []
|
|
124
123
|
extra_rdoc_files:
|
|
125
|
-
- README.md
|
|
126
124
|
- LICENSE
|
|
125
|
+
- README.md
|
|
127
126
|
- docs/commands/README.md
|
|
128
127
|
- docs/commands/check-example.md
|
|
129
128
|
- docs/commands/run-tests.md
|
|
@@ -347,7 +346,6 @@ homepage: https://github.com/teuton-software/teuton
|
|
|
347
346
|
licenses:
|
|
348
347
|
- GPL-3.0
|
|
349
348
|
metadata: {}
|
|
350
|
-
post_install_message:
|
|
351
349
|
rdoc_options: []
|
|
352
350
|
require_paths:
|
|
353
351
|
- lib
|
|
@@ -362,8 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
362
360
|
- !ruby/object:Gem::Version
|
|
363
361
|
version: '0'
|
|
364
362
|
requirements: []
|
|
365
|
-
rubygems_version: 3.
|
|
366
|
-
signing_key:
|
|
363
|
+
rubygems_version: 3.7.2
|
|
367
364
|
specification_version: 4
|
|
368
365
|
summary: Teuton (Infrastructure test)
|
|
369
366
|
test_files: []
|