bddfire 1.9.9 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +20 -3
- data/lib/bddfire/version.rb +1 -1
- data/pre-defined-steps/headless_steps.md +1 -1
- data/scaffold/config_files/README.md +22 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e6cef2544ef4448a779a776541b26b185aa3b2b
|
4
|
+
data.tar.gz: 8f4dbbeed5caf4e7057e4d176c75165e27af1933
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 999b3e7960b06f75f21c789113b24fed5ab5450b6dfa62a144a316af6fd0c7309419a275b400ad610cacb59047f3c1b20a6aa818ab699d4424846549ee1d0bbe
|
7
|
+
data.tar.gz: 4596c4cfdd060c395f1c85adcec53dd66645cffc90a5cf83e0fc9400088e7587fe23493e54f0b1ef20beef200509d07ffdf45ebe36d06d494920df4062fed52d
|
data/README.markdown
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
BDDfire: Automate Mobile & Web apps with less code. An instant Ruby-Cucumber BDD framework which supports various popular open-source libraries like Capybara, Selenium-WebDriver, Poltergeist, Relish, Cuke_sniffer, Rubocop, Appium, Saucelabs, Browserstack. Generate default toolkit around BDD with cucumber and friends. It also added support for Docker, Gatling, Axe Accessibility Engine
|
4
4
|
|
5
|
-
###
|
5
|
+
### BDDfire: Instant Ruby-Cucumber Framework with Docker, Gatling, Accessibility Support
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -61,6 +61,10 @@ Install your skeleton framework with BDDfire
|
|
61
61
|
$ bddfire fire_cucumber
|
62
62
|
$ bddfire fire_load
|
63
63
|
$ bddfire fire_accessibility
|
64
|
+
|
65
|
+
##### Watch it in action :
|
66
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/qr8jLmOd-mM/0.jpg)](http://www.youtube.com/watch?v=qr8jLmOd-mM)
|
67
|
+
|
64
68
|
Now you should have your framework ready inside 'cucumber' directory. Just install predefine Gems or you can add your own Gems.
|
65
69
|
|
66
70
|
$ cd cucumber
|
@@ -83,6 +87,7 @@ You can use headless Poltergeist based [headless Poltergeist based](https://gith
|
|
83
87
|
|
84
88
|
You can also use [Accessibility steps](https://github.com/Shashikant86/bddfire/blob/major-refactor/pre-defined-steps/accessibility_steps.md)
|
85
89
|
|
90
|
+
|
86
91
|
### Parallel Cucumber & Re-run Failed
|
87
92
|
|
88
93
|
You can run entire test suite in 10 different processes but you can increase number of processes. The reports are generated for each process. If any scenario failed it will re-run. It will use poltergeist by default but you can change in Rakefile
|
@@ -148,7 +153,11 @@ This will report all the offence in rubocop.
|
|
148
153
|
We can run our cucumber scenario inside Docker containers. Assuming you have Docker installed. Check your Docker installation before using.
|
149
154
|
|
150
155
|
$ bundle exec rake docker
|
151
|
-
This will build Docker image 'bddfire-ci' and run cucumber scenarios inside container 'bddfire-ci'.
|
156
|
+
This will build Docker image 'bddfire-ci' and run cucumber scenarios inside container 'bddfire-ci'.
|
157
|
+
|
158
|
+
##### Watch it in action
|
159
|
+
|
160
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/MQub3qHRwkM/0.jpg)](http://www.youtube.com/watch?v=MQub3qHRwkM)
|
152
161
|
|
153
162
|
## Gatling
|
154
163
|
|
@@ -160,13 +169,21 @@ This will run load tests against your url. You are free to record new simulation
|
|
160
169
|
|
161
170
|
There is CI integration to plug it with jenkins.
|
162
171
|
|
172
|
+
##### Watch it in action
|
173
|
+
|
174
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/h6MBXGAeUVY/0.jpg)](http://www.youtube.com/watch?v=h6MBXGAeUVY)
|
175
|
+
|
176
|
+
|
163
177
|
## Accessibility Testing : Axe
|
164
178
|
|
165
179
|
We can run accessibility checks on our web page using BDDfire. You have to pass URL as environment variable e.g
|
166
180
|
|
167
|
-
$
|
181
|
+
$ cd accessibility
|
182
|
+
$ bundle exec cucumber -r features URL="http://www.google.co.uk"
|
168
183
|
|
184
|
+
##### Watch it in action
|
169
185
|
|
186
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/aGPO_Bt5nmw/0.jpg)](http://www.youtube.com/watch?v=qr8jLmOd-mM)
|
170
187
|
|
171
188
|
# TODO
|
172
189
|
|
data/lib/bddfire/version.rb
CHANGED
@@ -11,7 +11,7 @@ Noe: these steps will only work with Poltergeist driver for Capybara. Don't use
|
|
11
11
|
Then network traffic should contains resource ""
|
12
12
|
When I request response headers
|
13
13
|
When I request page "url" with header name "dd" value ""
|
14
|
-
When I set the cookie name "cookie" with value "
|
14
|
+
When I set the cookie name "cookie" with value ""
|
15
15
|
Then I should see the cookie ""
|
16
16
|
When I removed cookie "cookie"
|
17
17
|
When I clear all cookies
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
BDDfire: Automate Mobile & Web apps with less code. An instant Ruby-Cucumber BDD framework which supports various popular open-source libraries like Capybara, Selenium-WebDriver, Poltergeist, Relish, Cuke_sniffer, Rubocop, Appium, Saucelabs, Browserstack. Generate default toolkit around BDD with cucumber and friends. It also added support for Docker, Gatling, Axe Accessibility Engine
|
4
4
|
|
5
|
-
###
|
5
|
+
### BDDfire: Instant Ruby-Cucumber Framework with Docker, Gatling, Accessibility Support
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -61,6 +61,10 @@ Install your skeleton framework with BDDfire
|
|
61
61
|
$ bddfire fire_cucumber
|
62
62
|
$ bddfire fire_load
|
63
63
|
$ bddfire fire_accessibility
|
64
|
+
|
65
|
+
##### Watch it in action :
|
66
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/qr8jLmOd-mM/0.jpg)](http://www.youtube.com/watch?v=qr8jLmOd-mM)
|
67
|
+
|
64
68
|
Now you should have your framework ready inside 'cucumber' directory. Just install predefine Gems or you can add your own Gems.
|
65
69
|
|
66
70
|
$ cd cucumber
|
@@ -83,6 +87,7 @@ You can use headless Poltergeist based [headless Poltergeist based](https://gith
|
|
83
87
|
|
84
88
|
You can also use [Accessibility steps](https://github.com/Shashikant86/bddfire/blob/major-refactor/pre-defined-steps/accessibility_steps.md)
|
85
89
|
|
90
|
+
|
86
91
|
### Parallel Cucumber & Re-run Failed
|
87
92
|
|
88
93
|
You can run entire test suite in 10 different processes but you can increase number of processes. The reports are generated for each process. If any scenario failed it will re-run. It will use poltergeist by default but you can change in Rakefile
|
@@ -148,7 +153,11 @@ This will report all the offence in rubocop.
|
|
148
153
|
We can run our cucumber scenario inside Docker containers. Assuming you have Docker installed. Check your Docker installation before using.
|
149
154
|
|
150
155
|
$ bundle exec rake docker
|
151
|
-
This will build Docker image 'bddfire-ci' and run cucumber scenarios inside container 'bddfire-ci'.
|
156
|
+
This will build Docker image 'bddfire-ci' and run cucumber scenarios inside container 'bddfire-ci'.
|
157
|
+
|
158
|
+
##### Watch it in action
|
159
|
+
|
160
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/MQub3qHRwkM/0.jpg)](http://www.youtube.com/watch?v=MQub3qHRwkM)
|
152
161
|
|
153
162
|
## Gatling
|
154
163
|
|
@@ -160,8 +169,18 @@ This will run load tests against your url. You are free to record new simulation
|
|
160
169
|
|
161
170
|
There is CI integration to plug it with jenkins.
|
162
171
|
|
172
|
+
##### Watch it in action
|
173
|
+
|
174
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/h6MBXGAeUVY/0.jpg)](http://www.youtube.com/watch?v=h6MBXGAeUVY)
|
175
|
+
|
176
|
+
|
163
177
|
## Accessibility Testing : Axe
|
164
178
|
|
165
179
|
We can run accessibility checks on our web page using BDDfire. You have to pass URL as environment variable e.g
|
166
180
|
|
167
|
-
$
|
181
|
+
$ cd accessibility
|
182
|
+
$ bundle exec cucumber -r features URL="http://www.google.co.uk"
|
183
|
+
|
184
|
+
##### Watch it in action
|
185
|
+
|
186
|
+
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/aGPO_Bt5nmw/0.jpg)](http://www.youtube.com/watch?v=qr8jLmOd-mM)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bddfire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shashikant Jagtap
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|