ruby_raider 1.0.8 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/lib/generators/automation/templates/partials/android_caps.tt +1 -1
- data/lib/generators/automation/templates/partials/cross_platform_caps.tt +1 -1
- data/lib/generators/automation/templates/partials/ios_caps.tt +1 -1
- data/lib/generators/templates/common/gemfile.tt +4 -4
- data/lib/generators/templates/common/partials/web_config.tt +3 -3
- data/lib/generators/templates/common/read_me.tt +21 -19
- data/lib/generators/templates/helpers/partials/driver_and_options.tt +1 -1
- data/lib/version +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 846b6834aa98706451c5e207a0b09faad86d92722b3564ea11901d86c6f513b9
|
4
|
+
data.tar.gz: e021d354084e09baf786079dd0b46c977023f8420eeef38fed9105484cdf63f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0fa6c26ed43f359c0fe46283a9ec43cf313f77ba53fd2c05c9674f4aa31f9a671cc4baa91bc8545d0af2111edda75ec8ab532dac4e0301a12a2fd3fb1acb6e6
|
7
|
+
data.tar.gz: 94d569b7ada0478f8297c0989eb4f9e75459a4c6279b7a56fee49d7a745d59a283ac35b63d9ffc19ac91de36e9450ea83abbded7e96acad7d59e99e8cb3d1d71
|
data/README.md
CHANGED
@@ -82,17 +82,15 @@ Select the ones you will like to work with.
|
|
82
82
|
If you already know which frameworks you want to use, you can do:
|
83
83
|
|
84
84
|
```ruby
|
85
|
-
raider new [name_of_project] p framework
|
85
|
+
raider new [name_of_project] -p framework:[framework] automation:[automation_type]
|
86
86
|
```
|
87
87
|
|
88
88
|
An example of the command above would be:
|
89
89
|
|
90
90
|
```ruby
|
91
|
-
raider new test_project p framework
|
91
|
+
raider new test_project -p framework:rspec automation:selenium
|
92
92
|
```
|
93
93
|
|
94
|
-
Where [frameworks] is a comma separated list of the frameworks you want to use.
|
95
|
-
|
96
94
|
### Ruby raider provides the following list of basic commands
|
97
95
|
|
98
96
|
###### Anything between square brackets([...]) is where your imput goes
|
@@ -10,7 +10,7 @@ browserstack:
|
|
10
10
|
platformName: Android
|
11
11
|
os_version: '9.0'
|
12
12
|
deviceName: Google Pixel 3
|
13
|
-
app:
|
13
|
+
app: app: <%= ENV['APP_URL'] %>
|
14
14
|
browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
|
15
15
|
browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
|
16
16
|
project: 'MyDemoAppRN'
|
@@ -18,7 +18,7 @@ browserstack:
|
|
18
18
|
platformName: Android
|
19
19
|
os_version: '9.0'
|
20
20
|
deviceName: Google Pixel 3
|
21
|
-
app:
|
21
|
+
app: app: <%= ENV['APP_URL'] %>
|
22
22
|
browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
|
23
23
|
browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
|
24
24
|
project: 'MyDemoAppRN'
|
@@ -11,7 +11,7 @@ browserstack:
|
|
11
11
|
platformName: iOS
|
12
12
|
os_version: '17.5.1'
|
13
13
|
deviceName: iPhone 15
|
14
|
-
app:
|
14
|
+
app: <%= ENV['APP_URL'] %>
|
15
15
|
browserstack.user: <%= ENV['BROWSERSTACK_USER'] %>
|
16
16
|
browserstack.key: <%= ENV['BROWSERSTACK_KEY'] %>
|
17
17
|
project: 'MyDemoAppRN'
|
@@ -6,10 +6,10 @@ gem 'appium_lib'
|
|
6
6
|
gem 'appium_console'
|
7
7
|
<% end %>
|
8
8
|
<%- if cucumber? -%>
|
9
|
-
gem 'allure-cucumber', '
|
9
|
+
gem 'allure-cucumber', '2.23.0'
|
10
10
|
<%- else -%>
|
11
|
-
gem 'allure-rspec', '
|
12
|
-
gem 'allure-ruby-commons', '
|
11
|
+
gem 'allure-rspec', '2.23.0'
|
12
|
+
gem 'allure-ruby-commons', '2.23.0'
|
13
13
|
<%- end -%>
|
14
14
|
<%- if axe? -%>
|
15
15
|
gem 'axe-core-rspec'
|
@@ -33,7 +33,7 @@ gem 'rubocop'
|
|
33
33
|
<%- if rspec? -%>
|
34
34
|
gem 'rubocop-rspec'
|
35
35
|
<%- end -%>
|
36
|
-
gem 'ruby_raider', '~> 1.
|
36
|
+
gem 'ruby_raider', '~> 1.1.0'
|
37
37
|
<%- if selenium_based? %>
|
38
38
|
gem 'selenium-webdriver'
|
39
39
|
<%- end -%>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
browser:
|
1
|
+
browser: chrome
|
2
2
|
url: 'https://automationteststore.com/'
|
3
3
|
|
4
4
|
<%- if selenium_based? -%>
|
@@ -8,11 +8,11 @@ driver_options:
|
|
8
8
|
<% end -%>
|
9
9
|
|
10
10
|
browser_arguments:
|
11
|
-
|
11
|
+
chrome:
|
12
12
|
- no-sandbox
|
13
13
|
- disable-dev-shm-usage
|
14
14
|
- ignore-certificate-errors
|
15
15
|
- search-engine-choice-country
|
16
|
-
|
16
|
+
firefox:
|
17
17
|
- acceptInsecureCerts
|
18
18
|
- no-sandbox
|
@@ -3,20 +3,20 @@
|
|
3
3
|
<!-- PROJECT LOGO -->
|
4
4
|
<br />
|
5
5
|
<div align="center">
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
6
|
+
<a href="https://github.com/RubyRaider/ruby_raider">
|
7
|
+
<img src="https://ruby-raider.com/wp-content/uploads/2022/05/logo-160x160.png?w=890" alt="Logo" style="width:600px;">
|
8
|
+
</a>
|
9
|
+
<p align="center">
|
10
|
+
<a href="https://github.com/RubyRaider/ruby_raider#getting-started"><strong>Explore the docs »</strong></a>
|
11
|
+
<br />
|
12
|
+
<br />
|
13
|
+
<a href="https://rubygems.org/gems/ruby_raider">Rubygems</a>
|
14
|
+
·
|
15
|
+
<a href="https://github.com/RubyRaider/ruby_raider/issues">Report Bug</a>
|
16
|
+
·
|
17
|
+
<a href="https://github.com/RubyRaider/ruby_raider/issues">Request Feature</a>
|
18
|
+
</p>
|
19
|
+
<p align="center"> For more information and updates on releases, see <a href="https://ruby-raider.com">https://ruby-raider.com</a></p>
|
20
20
|
</div>
|
21
21
|
|
22
22
|
## What is Ruby Raider?
|
@@ -40,7 +40,7 @@ the commands below:***
|
|
40
40
|
|
41
41
|
```ruby
|
42
42
|
raider u start_appium
|
43
|
-
appium --base
|
43
|
+
appium --base /wd/hub
|
44
44
|
```
|
45
45
|
|
46
46
|
***In order to run the visual tests with applitools, you need to create an account and get your api key, you can read
|
@@ -76,17 +76,15 @@ Select the ones you will like to work with.
|
|
76
76
|
If you already know which frameworks you want to use, you can do:
|
77
77
|
|
78
78
|
```ruby
|
79
|
-
raider new [name_of_project] p framework
|
79
|
+
raider new [name_of_project] -p framework:[framework] automation:[automation_type]
|
80
80
|
```
|
81
81
|
|
82
82
|
An example of the command above would be:
|
83
83
|
|
84
84
|
```ruby
|
85
|
-
raider new test_project p framework
|
85
|
+
raider new test_project -p framework:rspec automation:selenium
|
86
86
|
```
|
87
87
|
|
88
|
-
Where [frameworks] is a comma separated list of the frameworks you want to use.
|
89
|
-
|
90
88
|
### Ruby raider provides the following list of basic commands
|
91
89
|
|
92
90
|
###### Anything between square brackets([...]) is where your imput goes
|
@@ -137,3 +135,7 @@ To initialise Appium server run this command:
|
|
137
135
|
```ruby
|
138
136
|
raider u start_appium
|
139
137
|
```
|
138
|
+
|
139
|
+
### Sponsors
|
140
|
+
|
141
|
+
This project is tested with BrowserStack.
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<% elsif selenium_based? -%>
|
9
9
|
def create_driver(*opts)
|
10
10
|
@config = YAML.load_file('config/config.yml')
|
11
|
-
browser = @config['browser']
|
11
|
+
browser = @config['browser']
|
12
12
|
Selenium::WebDriver.for(browser, options: create_webdriver_options(*opts))
|
13
13
|
end
|
14
14
|
|
data/lib/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_raider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Pequeno
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
268
268
|
- !ruby/object:Gem::Version
|
269
269
|
version: '0'
|
270
270
|
requirements: []
|
271
|
-
rubygems_version: 3.
|
271
|
+
rubygems_version: 3.5.15
|
272
272
|
signing_key:
|
273
273
|
specification_version: 4
|
274
274
|
summary: A gem to make setup and start of UI automation projects easier
|