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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 631f4c00542468fa42a36a38c017dc0a5e122fa4d0b1445dd0872ada4e5becdc
4
- data.tar.gz: a01194deda208794fafcc3337f762584c36fd492fa9a5fd295240e5f5c9773c8
3
+ metadata.gz: a5b35750a1b166a54ba8f1c2f8dfdf82b8f1bbeb10dbc26c954aa926ebf47209
4
+ data.tar.gz: 06363a74c993cfe89d182a6f8473d7f713f3351da16e2f397fe9f7dfd327c049
5
5
  SHA512:
6
- metadata.gz: f8ec0d2672650d1b2d422f667dde1eed7e81f65133406d58d2ccc607c9ee8db7451e426a61e792f897f138815ecf37c4e6e0baf416e44fd677baa58003940376
7
- data.tar.gz: 76052c9435bad56f8de1822d48491854bf597c3823a0ce056a1f6c0eeafdbf7b16b37ec12737a600eaf9f051e684f0878cbcfd94b2c00cd8e0d67ab9d6e0c76c
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
- > teuton run examples/01-target
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 | GRADE | STATE |
34
- | 01 | anonymous | 100.0 | |
35
- +------+-----------+-------+-------+
42
+ +------+---------+-------+-------+
43
+ | CASE | MEMBERS | GRADE | STATE |
44
+ | 01 | VALUE | 33.0 | ? |
45
+ +------+---------+-------+-------+
36
46
  ```
37
47
 
38
- > More information about [commands](docs/commands/README.md)
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
- * [Getting started](docs/learn/README.md)
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)
@@ -74,7 +74,7 @@ Alias: `teuton c foo`, `teuton -c foo`, `teuton --check foo`
74
74
 
75
75
  # 5. Run test
76
76
 
77
- Read about [how to run tests](run-tests.md)
77
+ Read about how to [run tests](run-tests.md)
78
78
 
79
79
  # 6. Show test info as README file
80
80
 
@@ -19,34 +19,31 @@ $ teuton check examples/02-target
19
19
  +----------------------------+
20
20
  | GROUP: Learn about targets |
21
21
  +----------------------------+
22
- (001) target Create user david
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 david' on localhost
25
- expect david (String)
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 | 1 |
32
- | Runs | 1 |
33
- | * localhost | 1 |
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/david/proy/repos/teuton.d/teuton/examples/02-target/config.yaml
41
+ /home/.../examples/02-target/config.yaml
45
42
  [INFO] Recomended content:
46
43
  ---
47
- :global:
48
- :cases:
49
- - :tt_members: VALUE
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
- "[" + value + "](#required-params)"
17
+ "[#{value}](#required-params)"
18
18
  elsif @setted_params[value]
19
- "[" + value + "](#created-params)"
19
+ "[#{value}](#created-params)"
20
20
  elsif @global_params.include? value
21
- "[" + a + "](#global-params)"
21
+ "[#{a}](#global-params)"
22
+ else
23
+ a
22
24
  end
23
- a
24
25
  end
25
26
 
26
27
  def set(key, value)
@@ -1,5 +1,5 @@
1
1
  module Teuton
2
- VERSION = "2.10.7"
2
+ VERSION = "2.10.8"
3
3
  APPNAME = "teuton"
4
4
  GEMNAME = "teuton"
5
5
  DOCKERNAME = "dvarrui/#{GEMNAME}"
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.7
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: 2025-11-12 00:00:00.000000000 Z
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.4.19
366
- signing_key:
363
+ rubygems_version: 3.7.2
367
364
  specification_version: 4
368
365
  summary: Teuton (Infrastructure test)
369
366
  test_files: []