All Projects → joker1007 → rspec-storage

joker1007 / rspec-storage

Licence: MIT License
RSpec output test report to any stroage (current support is [s3, gcs])

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to rspec-storage

rspec.tmbundle
Textmate bundle for RSpec.
Stars: ✭ 196 (+790.91%)
Mutual labels:  rspec
rspec n
A ruby gem that runs RSpec N times.
Stars: ✭ 37 (+68.18%)
Mutual labels:  rspec
cppspec
BDD testing for C++ à la RSpec
Stars: ✭ 13 (-40.91%)
Mutual labels:  rspec
rspec-hanami
RSpec Matchers for Hanami
Stars: ✭ 47 (+113.64%)
Mutual labels:  rspec
CtCI-with-Ruby-TDD
Cracking the Coding Interview with Ruby and TDD
Stars: ✭ 44 (+100%)
Mutual labels:  rspec
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (+172.73%)
Mutual labels:  rspec
Ruby Capstone
A simple web scraper built with Ruby and the Nokogiri gem. It crawls a certain website and gets the prices and other data of cryptocurrencies. Rspec was used for testing.
Stars: ✭ 14 (-36.36%)
Mutual labels:  rspec
raddocs
Rspec Api Documentation Browser
Stars: ✭ 72 (+227.27%)
Mutual labels:  rspec
knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+359.09%)
Mutual labels:  rspec
yo-ruby
🌈 ✨ A super awesome Ruby wrapper of the Yo API.
Stars: ✭ 15 (-31.82%)
Mutual labels:  rspec
rspec-json matchers
A collection of RSpec matchers for testing JSON data.
Stars: ✭ 23 (+4.55%)
Mutual labels:  rspec
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (+1386.36%)
Mutual labels:  rspec
pytest-it
Decorate your pytest suite with RSpec-style pytest markers, then run `pytest --it` to see a plaintext spec of the test structure.
Stars: ✭ 26 (+18.18%)
Mutual labels:  rspec
allure-ruby
Allure integrations for Ruby test frameworks
Stars: ✭ 40 (+81.82%)
Mutual labels:  rspec
limestone-accounts
Boilerplate Rails 5.2 multitenant SaaS application with webpack and Docker integration. Billing is scoped to accounts.
Stars: ✭ 97 (+340.91%)
Mutual labels:  rspec
capybara select2
Capybara helpers for https://select2.org select box (supports Select2 version 2/3/4)
Stars: ✭ 48 (+118.18%)
Mutual labels:  rspec
reverse coverage
A tool to find the test examples which cover a specific line (or set of lines) of a Ruby project
Stars: ✭ 61 (+177.27%)
Mutual labels:  rspec
massa
Keep the quality, good practices and security of Rails projects.
Stars: ✭ 61 (+177.27%)
Mutual labels:  rspec
allure-rspec
Deprecated, use https://github.com/allure-framework/allure-ruby instead
Stars: ✭ 30 (+36.36%)
Mutual labels:  rspec
ruby3-rails6-bootstrap-heroku
An opinionated starter application based on Ruby 3.0, Rails 6.1, Webpack 5, Yarn, and Bootstrap 5, deployable on Heroku
Stars: ✭ 21 (-4.55%)
Mutual labels:  rspec

rspec-storage

RSpec output test report to any stroage

Installation

Add this line to your application's Gemfile:

gem 'rspec-storage'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rspec-storage

Support Storages

  • S3 (s3://)
  • GCS (gs://)

Environment Variables

  • S3

    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_REGION
  • GCS

    • GOOGLE_APPLICATION_CREDENTIALS

Usage

$ rspec -r rspec/storage spec/example_spec.rb -f doc -f json -o s3://your-bucket/spec_result.json

You need to require rspec/storage before rspec init process

With webmock

If you use webmock, you may need to add snippet to spec_helper as workaround.

RSpec.configure do |config|
# ...

  config.after :suite do
    WebMock.allow_net_connect!
  end
end

Development

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.

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/joker1007/rspec-storage.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].