-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29485e1
commit 448b570
Showing
10 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
Межпроектные автотесты с товарами: ЕТИ, мини-ЕТИ | ||
===================== | ||
|
||
Представляет собой гем apress-selenium_eti, который подключается в проекты Pulscen и Blizko. | ||
Представляет собой гем apress-selenium_products, который подключается в проекты Pulscen и Blizko. | ||
Код тестов пишется в этом геме, а на проектах эти тесты запускаются. | ||
|
||
! Автотесты из этого гема запускаются в проектах ! | ||
|
||
## Настройка гема и проектов | ||
- Установить ruby 2.4.10, bunlder 1.17.3. Для linux желательно использовать менеджер версий rvm. | ||
- Форкнуть репозиторий apress-selenium_eti на github. | ||
- Форкнуть репозиторий apress-selenium_products на github. | ||
- Форкнуть репозиторий проекта Pulscen на github (если еще не сделано) https://github.com/abak-press/pulscen | ||
- Форкнуть репозиторий проекта Blizko на github (если еще не сделано) https://github.com/abak-press/blizko | ||
- Склонировать на локальную машину форкнутые репозитории: | ||
``` | ||
git clone [email protected]:{login_на_github}/apress-selenium_eti.git | ||
git clone [email protected]:{login_на_github}/apress-selenium_products.git | ||
git clone [email protected]:{login_на_github}/pulscen.git | ||
git clone [email protected]:{login_на_github}/blizko.git | ||
``` | ||
|
||
- добавить ссылку на upstream репозиторий: | ||
``` | ||
git remote add upstream [email protected]:abak-press/apress-selenium_eti | ||
git remote add upstream [email protected]:abak-press/apress-selenium_products | ||
git remote add upstream [email protected]:abak-press/pulscen | ||
git remote add upstream [email protected]:abak-press/blizko | ||
``` | ||
|
@@ -32,7 +32,7 @@ git remote -v | |
- Переименовать файл `run_example.yml` в `run.yml`. Выставить в нем опции запуска тестов. | ||
|
||
## Запуск тестов | ||
1. Подтянуть свежую версию гема apress-selenium_eti. | ||
1. Подтянуть свежую версию гема apress-selenium_products. | ||
``` | ||
git checkout master | ||
git pull upstream master | ||
|
@@ -56,7 +56,7 @@ git checkout –b <имя_ветки> | |
|
||
5. В файле Gemfile проекта указать локальный путь до гема. | ||
``` | ||
gem 'apress-selenium_eti', path: '/home/galiulin/autotests/apress-selenium_eti' | ||
gem 'apress-selenium_products', path: '/home/galiulin/autotests/apress-selenium_products' | ||
``` | ||
где /home/galiulin/autotests - локальный путь | ||
|
||
|
12 changes: 6 additions & 6 deletions
12
apress-selenium_eti.gemspec → apress-selenium_products.gemspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'apress/selenium_eti/version' | ||
require 'apress/selenium_products/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = 'apress-selenium_eti' | ||
spec.version = Apress::SeleniumEti::VERSION | ||
spec.name = 'apress-selenium_products' | ||
spec.version = Apress::SeleniumProducts::VERSION | ||
spec.authors = ['Fyodor Parmanchukov'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = 'Selenium eti gem' | ||
spec.description = 'Cross-project eti and mini-eti autotests' | ||
spec.homepage = 'https://github.com/abak-press/apress-selenium_eti' | ||
spec.summary = 'Selenium products gem' | ||
spec.description = 'Cross-project products autotests' | ||
spec.homepage = 'https://github.com/abak-press/apress-selenium_products' | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.require_paths = ['lib'] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
module Apress | ||
module SeleniumProducts | ||
VERSION = '0.6.17'.freeze | ||
end | ||
end |