generic_test 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b24968d52699e3323d8dae288b3013aa10a699f996999b9a8d5fecbd828ec415
4
+ data.tar.gz: ed18d73c538f5d41ba41588d4bef8019238106a1a0f578e1e4dc2c8420bf20b8
5
+ SHA512:
6
+ metadata.gz: 22fa12a82821559899257b51557b61304993c50732891577fa40cfbc8efc8a47b8bd29bfcb0b84765ab0d06208d5342427a09f2485b841466aca05f5dcb09e7b
7
+ data.tar.gz: 497001f35ecff93d31d44c761dc70fd30bdc95e1d4ab69a317146e2373e9db2f0947dc53d43e69ebf492d5154191d9cc7a719ad93d4997d330739d7672b8f17e
data/.gitignore ADDED
@@ -0,0 +1,16 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /.idea/
10
+ /_site/
11
+ /logs/
12
+ test_site/.jekyll-cache/
13
+ Gemfile.lock
14
+
15
+ # rspec failure tracking
16
+ .rspec_status
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,46 @@
1
+ image: ruby:2.6
2
+
3
+ include:
4
+ - template: Code-Quality.gitlab-ci.yml
5
+
6
+ docker_build:
7
+ variables:
8
+ # Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
9
+ DOCKER_HOST: tcp://docker:2376
10
+ DOCKER_TLS_CERTDIR: "/certs"
11
+ stage: build
12
+ services:
13
+ - docker:19.03.5-dind
14
+ image: docker:19.03.5
15
+ script:
16
+ - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
17
+ - docker pull $CI_REGISTRY_IMAGE:latest || true
18
+ - docker build -t $CI_REGISTRY_IMAGE:latest .
19
+ - docker push $CI_REGISTRY_IMAGE:latest
20
+
21
+ test:
22
+ image: registry.gitlab.com/samuel-garratt/generic_test
23
+ stage: test
24
+ script:
25
+ - gem install bundler
26
+ - bundle install
27
+ - xvfb-run bundle exec rake
28
+
29
+ pages:
30
+ stage: deploy
31
+ script:
32
+ - mv test_site/ public/
33
+ artifacts:
34
+ paths:
35
+ - public
36
+ expire_in: 30 days
37
+ only:
38
+ - master
39
+
40
+ .docker_test:
41
+ services:
42
+ - docker:19.03.5-dind
43
+ image: docker:19.03.5
44
+ stage: test
45
+ script:
46
+ - docker run myrepo/generic_test BASE_URL
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at TODO: Write your email address. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/ChangeLog ADDED
File without changes
data/Dockerfile ADDED
@@ -0,0 +1,32 @@
1
+ FROM ruby:2.6
2
+ MAINTAINER Samuel Garratt
3
+
4
+ # Required ruby gems
5
+ RUN mkdir /mysuite
6
+ WORKDIR /mysuite
7
+ COPY . /mysuite/
8
+ RUN gem install bundler
9
+ RUN bundle install
10
+ # Install gem within itself
11
+ RUN rake install
12
+
13
+ # Virtual Frame buffer
14
+ RUN apt-get update -y \
15
+ && apt-get -y install \
16
+ xvfb \
17
+ && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
18
+
19
+ # Google chrome
20
+ ARG CHROME_VERSION="google-chrome-stable"
21
+ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
22
+ && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
23
+ && apt-get update -qqy \
24
+ && apt-get -qqy install \
25
+ ${CHROME_VERSION:-google-chrome-stable} \
26
+ && rm /etc/apt/sources.list.d/google-chrome.list \
27
+ && rm -rf /var/lib/apt/lists/* /var/cache/apt/*
28
+
29
+ # Add language settings to handle special characters
30
+ RUN export LANG=C.UTF-8
31
+ RUN export LANGUAGE=C.UTF-8
32
+ RUN export LC_ALL=C.UTF-8
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in generic_test.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 12.0'
9
+ gem 'rspec', '~> 3.0'
10
+ gem 'jekyll' # For hosting test website
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,56 @@
1
+ # GenericTest
2
+
3
+ This gem provides an easy way to run generic tests for a website/api
4
+
5
+ Test site is at https://samuel-garratt.gitlab.io/generic_test
6
+
7
+ Run test gem through docker against this with
8
+
9
+ `docker run -t registry.gitlab.com/samuel-garratt/generic_test generic_test page samuel-garratt.gitlab.io/generic_test`
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'generic_test'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle install
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install generic_test
26
+
27
+ ## Usage
28
+
29
+ ### Running locally.
30
+
31
+ Use the executable `generic_test`, add the page command and put a website to check:
32
+ `generic_test page samuel-garratt.gitlab.io/generic_test`
33
+
34
+ ### Run with docker
35
+
36
+ docker run -t registry.gitlab.com/samuel-garratt/generic_test generic_test page URL
37
+
38
+ `docker run -t registry.gitlab.com/samuel-garratt/generic_test generic_test page samuel-garratt.gitlab.io/generic_test`
39
+
40
+ ## Development
41
+
42
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
43
+
44
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at https://gitlab.com/samuel-garratt/generic_test. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/generic_test/blob/master/CODE_OF_CONDUCT.md).
49
+
50
+ ## License
51
+
52
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
53
+
54
+ ## Code of Conduct
55
+
56
+ Everyone interacting in the GenericTest project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/samuel-garratt/generic_test/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(spec: :start_website) do |task|
7
+ task.pattern = 'spec/test_gem_spec.rb'
8
+ end
9
+
10
+ directory 'logs'
11
+
12
+ desc 'Start virtual web service'
13
+ task start_website: :logs do
14
+ mkdir_p 'logs'
15
+ command = %w[jekyll serve -s test_site]
16
+ ENV['test_site_pid'] = Process.spawn(*command, err: %w[logs/test_site.log w]).to_s
17
+ sleep 2 # Wait a little for virtual server to start up
18
+ puts 'Running test site on pid ' + ENV['test_site_pid']
19
+ ENV['PAGE_URL'] = 'localhost:4000'
20
+ end
21
+
22
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'generic_test'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/generic_test ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'thor'
5
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
6
+ require 'generic_test'
7
+ puts File.join(File.dirname(__FILE__), '..', 'spec')
8
+ # Executable for Generic Test
9
+ class Exe < Thor
10
+ desc 'page page_url', 'Test web page'
11
+ def page(page_url)
12
+ ENV['PAGE_URL'] = page_url
13
+ puts ENV['PAGE_URL']
14
+ system "cd #{File.join(File.dirname(__FILE__), '..')} && rspec spec/generic_test_spec.rb"
15
+ end
16
+ end
17
+
18
+ Exe.start(ARGV)
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/generic_test/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'generic_test'
7
+ spec.version = GenericTest::VERSION
8
+ spec.authors = ['Samuel Garratt']
9
+ spec.email = ['samuel.garratt@integrationqa.com']
10
+
11
+ spec.summary = 'Generic tests for a website/api.'
12
+ spec.description = 'Easy way to run generic tests for a website/api.'
13
+ spec.homepage = 'https://gitlab.com/samuel-garratt/generic_test'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://gitlab.com/samuel-garratt/generic_test'
18
+ spec.metadata['changelog_uri'] = 'https://gitlab.com/samuel-garratt/soaspec/blob/master/ChangeLog'
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
23
+ `git ls-files -z`.split("\x0")
24
+ end
25
+ spec.bindir = 'exe'
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ['lib']
28
+ spec.add_dependency 'rest-client'
29
+ spec.add_dependency 'rspec'
30
+ spec.add_dependency 'thor' # Command line utility
31
+ spec.add_dependency 'watir' # UI interaction
32
+ spec.add_dependency 'webdrivers' # Download chromedriver
33
+ end
@@ -0,0 +1,7 @@
1
+ module Checker
2
+ class << self
3
+ def link_status(href)
4
+ RestClient.get(href).code
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ module GenericTest
2
+ class Page
3
+ # @return [Array] List of links
4
+ attr_accessor :links
5
+ attr_accessor :url
6
+
7
+ def initialize(url, links)
8
+ self.links = links
9
+ self.url = url
10
+ puts "Found #{links.count} links at #{url}"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module GenericTest
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'generic_test/version'
4
+ require 'generic_test/page'
5
+ require 'generic_test/checker'
6
+
7
+ module GenericTest
8
+ class Error < StandardError; end
9
+ @pages = []
10
+
11
+ class << self
12
+ attr_accessor :browser
13
+ attr_accessor :pages
14
+ end
15
+ end
data/run.sh ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bash
2
+ xvfb-run generic_test page https://samuel-garratt.gitlab.io/generic_test
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ GenericTest.pages.each do |page|
4
+ links = page.links
5
+ RSpec.describe "Checking broken links at #{page.url}" do
6
+ links.each_with_index do |link, index|
7
+ next unless link.href && !link.href.empty?
8
+
9
+ it "Link (#{index}) #{link.text} to '#{link.href}' responds" do
10
+ expect(Checker.link_status(link.href)).to be_between 200, 399
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+ require 'generic_test'
5
+ require 'rest-client'
6
+ require 'watir'
7
+ require 'webdrivers'
8
+
9
+ ENV['HEADLESS'] ||= 'true'
10
+ browser_args = %w[--disable-popup-blocking --no-sandbox --disable-dev-shm-usage]
11
+ browser_args << '--headless' if ENV['HEADLESS'] == 'true'
12
+
13
+ GenericTest.browser = Watir::Browser.new :chrome, args: browser_args
14
+
15
+ browser = GenericTest.browser
16
+ browser.goto ENV['PAGE_URL']
17
+ sleep 1
18
+ links = browser.links
19
+ GenericTest.pages << GenericTest::Page.new(ENV['PAGE_URL'], links)
20
+
21
+ RSpec.configure do |config|
22
+ # Close test server after all RSpec tests have run
23
+ config.after(:suite) do
24
+ GenericTest.browser&.close
25
+ if ENV['test_site_pid']
26
+ puts "Closing test site at #{ENV['test_site_pid']}"
27
+ Process.kill(:QUIT, ENV['test_site_pid'].to_i)
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,15 @@
1
+ # Test gem works internally
2
+
3
+ GenericTest.pages.each do |page|
4
+ links = page.links
5
+ RSpec.describe "Checking broken links at #{page.url}" do
6
+ it 'successful link passes' do
7
+ expect(Checker.link_status(links[0].href)).to be_between 200, 399
8
+ end
9
+ it 'broken link causes failure' do
10
+ expect do
11
+ Checker.link_status(links[1].href)
12
+ end.to raise_error RestClient::NotFound
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ <html>
2
+ <head>
3
+ <title>About</title>
4
+ </head>
5
+ <body>
6
+ <header>
7
+ <h1>About page</h1>
8
+ </header>
9
+ <p>
10
+ Generic test page makes things easy
11
+ </p>
12
+ </body>
13
+ </html>
@@ -0,0 +1,16 @@
1
+ <html>
2
+ <head>
3
+ <title>Index</title>
4
+ </head>
5
+ <body>
6
+ <header>
7
+ <h1>Test page</h1>
8
+ </header>
9
+ <p id="correct_link">
10
+ <a href="about.html">About page</a>
11
+ </p>
12
+ <p id="broken_link">
13
+ <a href="broken_link.html">Broken link</a>
14
+ </p>
15
+ </body>
16
+ </html>
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: generic_test
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Samuel Garratt
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-02-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: watir
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webdrivers
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Easy way to run generic tests for a website/api.
84
+ email:
85
+ - samuel.garratt@integrationqa.com
86
+ executables:
87
+ - generic_test
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".gitlab-ci.yml"
93
+ - ".rspec"
94
+ - CODE_OF_CONDUCT.md
95
+ - ChangeLog
96
+ - Dockerfile
97
+ - Gemfile
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/setup
103
+ - exe/generic_test
104
+ - generic_test.gemspec
105
+ - lib/generic_test.rb
106
+ - lib/generic_test/checker.rb
107
+ - lib/generic_test/page.rb
108
+ - lib/generic_test/version.rb
109
+ - run.sh
110
+ - spec/generic_test_spec.rb
111
+ - spec/spec_helper.rb
112
+ - spec/test_gem_spec.rb
113
+ - test_site/about.html
114
+ - test_site/index.html
115
+ homepage: https://gitlab.com/samuel-garratt/generic_test
116
+ licenses:
117
+ - MIT
118
+ metadata:
119
+ homepage_uri: https://gitlab.com/samuel-garratt/generic_test
120
+ source_code_uri: https://gitlab.com/samuel-garratt/generic_test
121
+ changelog_uri: https://gitlab.com/samuel-garratt/soaspec/blob/master/ChangeLog
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 2.6.0
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubygems_version: 3.0.6
138
+ signing_key:
139
+ specification_version: 4
140
+ summary: Generic tests for a website/api.
141
+ test_files: []