Giter Site home page Giter Site logo

ngan / knapsack_pro-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from knapsackpro/knapsack_pro-ruby

0.0 0.0 0.0 1.66 MB

Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests run in optimal time

Home Page: https://knapsackpro.com

License: MIT License

Ruby 100.00%

knapsack_pro-ruby's Introduction

knapsack_pro ruby gem

Knapsack Pro

Speed up your tests

Run your 1-hour test suite in 2 minutes with optimal parallelisation on your existing CI infrastructure




Knapsack Pro wraps your current test runner(s) and works with your existing CI infrastructure to parallelize tests optimally:

  • Dynamically splits your tests based on up-to-date test execution data
  • Is designed from the ground up for CI and supports all of them
  • Tracks your CI builds to detect bottlenecks
  • Does not have access to your source code and collects minimal test data (with opt-in encryption)
  • Enables you to export historical metrics about your CI builds
  • Supports out-of-the-box any Ruby test runners, Cypress, Jest (and provides both SDK and API to integrate with any other language)
  • Replaces local dependencies like Redis with an API and runs your tests regardless of network problems

The knapsack_pro gem supports all CIs and the following test runners:

  • RSpec
  • Cucumber
  • Minitest
  • test-unit
  • Spinach
  • Turnip

Requirements

>= Ruby 2.1.0

Installation

The Installation Guide will ask you a few questions and generate instruction steps for your project:

Upgrade

Knapsack Pro follows semantic versioning, but make sure to check the changelog before updating gem with:

bundle update knapsack_pro

Contributing

Testing

RSpec:

bundle exec rspec spec

Scripted tests can be found in the Rails App With Knapsack Pro repository.

Publishing

Update the version in lib/knapsack_pro/version.rb and CHANGELOG.md:

git commit -m "Bump version X.X.X"
git push origin master

Create a git tag for the release:

git tag -a vX.X.X -m "Release vX.X.X"
git push --tags

Build the gem and publish it to RubyGems:

gem build knapsack_pro.gemspec
gem push knapsack_pro-X.X.X.gem

Update the latest available gem version in TestSuiteClientVersionChecker for the Knapsack Pro API repository.

Update the knapsack_pro gem version in:

knapsack_pro-ruby's People

Contributors

3v0k4 avatar arturt avatar nbr avatar patrickbizea avatar rlhh avatar scream3 avatar shadre avatar technicalpickles avatar thukim avatar timdiggins avatar tubaxenor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.