bddgenx 0.1.27 → 0.1.30

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: 8f4d4a0d722941eb7d15b474586da0bc25a2aae85b0542ed74841c13b2a545d3
4
- data.tar.gz: d4e0b1bf37384a517d97ee71b2ad3d6d8ba87e4cbc9a1c2b456be181e68e4f87
3
+ metadata.gz: a5b8c27fb805cfa7f7a215f825b4f745f13f60b09202a6b9d93720cc58a322ad
4
+ data.tar.gz: cf50ca6d298834ef1161287f0b1ef6206899facedc942f74f803195e3e77d46f
5
5
  SHA512:
6
- metadata.gz: 67ece000b01a4d5abe5fda121ebe5486ed3eb8866e102fee704793df7d1c93e369e2c8b92f803df3b43cde3c4d6b25e78efeda48ec6de943734123b01bdb872b
7
- data.tar.gz: 11180ba8fed1854d60ad6250376949807332ff04f4432d5e24b5b1b3af89d0d119036c4c38585d1826548c02f099ab4779129030537790e2837d9829766f6cb9
6
+ metadata.gz: 5fa615dc30b06c80ff6a0ff26d32c005602ea250e1a0bbe2836b7f4ac3c0a5652ef113d09c0637a63e996ca049babbd6b3a65098c68ab8ca3044c34e67562a33
7
+ data.tar.gz: 64443d60bb0f5e6f6bef71d607dacc13a672d1b2094e8510026236da31cae306d9c476b37c0edd07be4bb68b782186546a0ae7837eca56e097ab4f4c7e70955a
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # 🧪 Gerador de BDD Automático em Ruby
2
+ [![Gem Version](https://badge.fury.io/rb/bddgenx.svg)](https://badge.fury.io/rb/bddgenx)
2
3
 
3
4
  Este projeto gera arquivos `.feature` (Gherkin) e `steps.rb` automaticamente a partir de arquivos `.txt` com histórias de usuário, seguindo padrões ISTQB, parametrização com `Examples` e integração com pipelines.
4
5
 
@@ -6,37 +7,31 @@ Este projeto gera arquivos `.feature` (Gherkin) e `steps.rb` automaticamente a p
6
7
 
7
8
  ## 📂 Estrutura do Projeto
8
9
  ```txt
9
- bddgenx/ # raiz do repositório
10
- ├── bin/ # executáveis CLI
11
- │ └── bddgenx # script que chama Bddgenx::Runner.executar
12
- ├── lib/ # código-fonte da gem
13
- ├── bddgenx/ # namespace principal
14
- │ │ ├── parser.rb
15
- ├── validator.rb
16
- ├── generator.rb
17
- │ ├── steps_generator.rb
18
- │ │ ├── tracer.rb
19
- ├── backup.rb
20
- │ │ ├── pdf_exporter.rb
21
- │ │ └── utils/ # helpers e módulos auxiliares
22
- │ │ └── verificador.rb
23
- └── bddgenx.rb # entrypoint: require_relative de tudo
24
- ├── features/ # specs Cucumber para testar a gem
25
- └── support/ # support files para os testes
26
- ├── spec/ or test/ # unit tests (RSpec, Minitest)
27
- ├── input/ # exemplos de .txt de usuários
28
- ├── output/ # artefatos gerados (rastreabilidade.csv, etc.)
29
- ├── pdf/ # PDFs gerados
30
- ├── backup/ # backups automáticos
31
- ├── doc/ # documentação (markdown)
32
- ├── configuracao-padra.md
33
- └── configuracao-rake.md
34
- ├── bddgenx.gemspec # gemspec
35
- ├── Gemfile # dependências de desenvolvimento
36
- ├── Rakefile # tarefas: build, test, release, clean…
37
- ├── .gitignore
38
- └── README.md # descrição, instalação, exemplos de uso
39
-
10
+ bddgenx/
11
+ ├── bin/bddgenx # CLI executável
12
+ ├── input/ # .txt de histórias de usuário
13
+ ├── features/ # .feature geradas
14
+ ├── features/<nome>/steps/ # step definitions por feature (se existir)
15
+ ├── reports/ # todos os artefatos de saída
16
+ │ ├── backup/ # versões antigas de .feature
17
+ │ ├── output/ # rastreabilidade.csv
18
+ └── pdf/ # relatórios camelCase
19
+ ├── lib/
20
+ │ ├── bddgenx/
21
+ │ │ ├── parser.rb
22
+ │ │ ├── validator.rb
23
+ │ │ ├── generator.rb
24
+ │ ├── steps_generator.rb
25
+ │ │ ├── tracer.rb
26
+ │ ├── backup.rb
27
+ │ │ └── pdf_exporter.rb
28
+ │ └── bddgenx.rb # Runner que orquestra tudo
29
+ ├── Gemfile
30
+ ├── bddgenx.gemspec
31
+ ├── Rakefile
32
+ ├── VERSION
33
+ ├── bump_version.sh
34
+ └── README.md
40
35
  ```
41
36
  ## ▶️ Como Executar
42
37
 
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.30
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  require 'jira-ruby'
2
2
 
3
- module Bddgen
3
+ module Bddgenx
4
4
  module Integrations
5
5
  class Jira
6
6
  def initialize(options = {})
@@ -1,7 +1,6 @@
1
1
  require 'xmlrpc/client'
2
2
 
3
- module Bddgen
4
- module Integrations
3
+ module Bddgenx
5
4
  class TestLink
6
5
  def initialize(api_key, url)
7
6
  @server = XMLRPC::Client.new2(url)
@@ -33,5 +32,4 @@ module Bddgen
33
32
  puts "❌ Erro ao criar caso no TestLink: #{e.message}"
34
33
  end
35
34
  end
36
- end
37
35
  end
@@ -1,3 +1,11 @@
1
1
  module Bddgenx
2
- VERSION = "0.1.27"
2
+ # Sobe 3 níveis: lib/bddgenx/version.rb → bddgenx → lib → [raiz do projeto]
3
+ VERSION_FILE = File.expand_path("../../../VERSION", __FILE__)
4
+
5
+ VERSION = if File.exist?(VERSION_FILE)
6
+ File.read(VERSION_FILE).strip
7
+ else
8
+ warn "WARNING: VERSION file not found, defaulting to 0.0.0"
9
+ "0.0.0"
10
+ end
3
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddgenx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Nascimento
@@ -35,12 +35,13 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - README.md
37
37
  - Rakefile
38
+ - VERSION
39
+ - assets/fonts/DejaVuSansMono-Bold.ttf
40
+ - assets/fonts/DejaVuSansMono-BoldOblique.ttf
41
+ - assets/fonts/DejaVuSansMono-Oblique.ttf
42
+ - assets/fonts/DejaVuSansMono.ttf
38
43
  - bin/bddgenx
39
44
  - lib/bddgenx.rb
40
- - lib/bddgenx/assets/fonts/DejaVuSansMono-Bold.ttf
41
- - lib/bddgenx/assets/fonts/DejaVuSansMono-BoldOblique.ttf
42
- - lib/bddgenx/assets/fonts/DejaVuSansMono-Oblique.ttf
43
- - lib/bddgenx/assets/fonts/DejaVuSansMono.ttf
44
45
  - lib/bddgenx/backup.rb
45
46
  - lib/bddgenx/cli.rb
46
47
  - lib/bddgenx/generator.rb