cs-webautomator 0.1.4 → 0.1.5
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 +17 -32
- data/cs-webautomator.gemspec +3 -3
- data/lib/cs/webautomator/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65a0e138de2d9b33644e8d8e5ed83eced70014ec
|
4
|
+
data.tar.gz: a25b7ed66dbf09e9dfce3df7115e97149b92f8fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb4353b9f5fa8f92b412e68490f16cee415266b8f06dd4f21a9d68ea38dcc9deca0219cb8e564e4102eb4cd3c12a8beb3fab3f74f75b2718abbbd047b24374b0
|
7
|
+
data.tar.gz: 200c23c966fc089f5802cb2baeec964a6b557d68a4890f84704cea3b0a01d99258569488bfe4141ea3e184a9311999cfde502a8dc620e066131d6b89473a44af
|
data/README.md
CHANGED
@@ -1,57 +1,56 @@
|
|
1
1
|
# CS::WEBAUTOMATOR
|
2
2
|
|
3
|
-
##
|
3
|
+
## Instalação
|
4
4
|
|
5
|
-
|
5
|
+
Executar:
|
6
6
|
|
7
7
|
$ gem install cs-webautomator
|
8
8
|
|
9
|
-
##
|
9
|
+
## Uso
|
10
10
|
|
11
|
-
|
11
|
+
No terminal, para acessar o help:
|
12
12
|
|
13
13
|
```
|
14
14
|
cs-webautomator
|
15
15
|
cs-webautomator generate
|
16
16
|
```
|
17
17
|
|
18
|
-
|
18
|
+
Ver a versão da gem:
|
19
19
|
|
20
20
|
```
|
21
21
|
cs-webautomator version
|
22
22
|
```
|
23
23
|
|
24
|
-
|
24
|
+
Gerar o projeto:
|
25
25
|
|
26
26
|
```
|
27
|
-
cs-webautomator new
|
27
|
+
cs-webautomator new Projeto
|
28
28
|
```
|
29
29
|
|
30
|
-
|
30
|
+
Esse comando vai criar uma pasta com o nome Projeto no diretório corrente e criar os arquivos padrões. Projeto gerado em português por default.
|
31
|
+
|
32
|
+
Para gerar em inglês, por exemplo, utilize:
|
31
33
|
|
32
34
|
```
|
33
|
-
cs-webautomator new
|
35
|
+
cs-webautomator new Projeto --lang=en
|
34
36
|
```
|
35
37
|
|
36
|
-
|
37
|
-
**The generators commands ONLY WORK in the ROOT FOLDER of the project**.
|
38
|
+
**Os comandos generate só funcionam dentro da raiz do projeto**.
|
38
39
|
|
39
40
|
####Features
|
40
41
|
|
41
42
|
```
|
42
|
-
cs-webautomator generate feature
|
43
|
+
cs-webautomator generate feature NomeFeature
|
43
44
|
```
|
44
|
-
The feature generator will create a Platform independent feature and its files. So this command will create the FeatureName.feature file inside the folder `feature`, the file FeatureName_steps.rb inside the folder `features/step_definitions`, the file FeatureName_page.rb inside the folder `features/pages`.
|
45
45
|
|
46
|
-
|
47
|
-
Don't forget about internationalization. All the generators accept the option `--lang=pt` or with some other language.
|
46
|
+
Esse comando vai criar um arquivo NomeFeature.feature dentro de `features/specifications`, NomeFeature_steps.rb dentro de `features/step_definitions` e FeatureName_page.rb dentro de `features/pages`.
|
48
47
|
|
49
48
|
####Steps
|
50
49
|
|
51
50
|
```
|
52
|
-
cs-webautomator generate step
|
51
|
+
cs-webautomator generate step NomeStep
|
53
52
|
```
|
54
|
-
|
53
|
+
Esse comando vai criar um arquivo NomeStep_steps.rb na pasta `features/step_definitions`
|
55
54
|
|
56
55
|
|
57
56
|
####Pages
|
@@ -59,19 +58,5 @@ The step generator will create a Platform independent step file named StepName_s
|
|
59
58
|
```
|
60
59
|
cs-webautomator generate page PageName
|
61
60
|
```
|
62
|
-
The step generator will create a Platform independent page file named StepName_page.rb in the folder `features/pages`
|
63
|
-
|
64
|
-
|
65
|
-
## Continuous Integration (CI)
|
66
|
-
|
67
|
-
The project contains a lot of scripts that will help you to configure you CI server.
|
68
|
-
|
69
|
-
> Documentation under development.
|
70
|
-
|
71
|
-
## Contributing
|
72
61
|
|
73
|
-
|
74
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
75
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
76
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
77
|
-
5. Create a new Pull Request
|
62
|
+
Esse comando vai criar um arquivo NomeStep_page.rb na pasta `features/pages`
|
data/cs-webautomator.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = CS::WEBAUTOMATOR::VERSION
|
9
9
|
spec.authors = ['Samanta Cicilia']
|
10
10
|
spec.email = ['samycici@gmail.com']
|
11
|
-
spec.summary = 'Generates an Capybara
|
12
|
-
spec.description = %q{A simple gem to generate all files needed in a project that will support Capybara.}
|
13
|
-
spec.homepage = 'https://github.com/
|
11
|
+
spec.summary = 'Generates an Web Test Automation project with Cucumber, SitePrism, Capybara and Selenium.'
|
12
|
+
spec.description = %q{A simple gem to generate all files needed in a project that will support Cucumber, SitePrism, Capybara and Selenium.}
|
13
|
+
spec.homepage = 'https://github.com/samycici/cs-webautomator'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cs-webautomator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samanta Cicilia
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 2.12.2
|
83
83
|
description: A simple gem to generate all files needed in a project that will support
|
84
|
-
Capybara.
|
84
|
+
Cucumber, SitePrism, Capybara and Selenium.
|
85
85
|
email:
|
86
86
|
- samycici@gmail.com
|
87
87
|
executables:
|
@@ -116,7 +116,7 @@ files:
|
|
116
116
|
- lib/templates/feature.tt
|
117
117
|
- lib/templates/page.tt
|
118
118
|
- lib/templates/steps.tt
|
119
|
-
homepage: https://github.com/
|
119
|
+
homepage: https://github.com/samycici/cs-webautomator
|
120
120
|
licenses:
|
121
121
|
- MIT
|
122
122
|
metadata: {}
|
@@ -139,5 +139,6 @@ rubyforge_project:
|
|
139
139
|
rubygems_version: 2.5.1
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
|
-
summary: Generates an
|
142
|
+
summary: Generates an Web Test Automation project with Cucumber, SitePrism, Capybara
|
143
|
+
and Selenium.
|
143
144
|
test_files: []
|