GithubHelp home page GithubHelp logo

Comments (5)

andrcuns avatar andrcuns commented on June 18, 2024 1

Yeah, that works too if You want to support some other alternatives.
Quick googling showed me one other alternative written by shopify - bootsnap, looks like that one would work without any changes to exec command.
PREFIX could be also helpful if by some chance someone doesn't have bundler in path or something similar. It's up to You how to implement it, either way would work for our use case.

from knapsack_pro-ruby.

ArturT avatar ArturT commented on June 18, 2024 1

@andrcuns I've created PR for that #98

I'm going to prepare documentation and update FAQ and release a new gem version hopefully tomorrow. In the meantime, you can test it out from the branch.

from knapsack_pro-ruby.

andrcuns avatar andrcuns commented on June 18, 2024 1

Tried running from the branch, worked as expected 👍

from knapsack_pro-ruby.

ArturT avatar ArturT commented on June 18, 2024

I'm wondering if we need to consider support for something else than just spring.
I recall there is some new modern gem that's alternative to spring but I forgot the name of it and can't google it.

Regarding how this could be done. Maybe we could have a prefix and you could define it in env KNAPSACK_PRO_CUCUMBER_QUEUE_MODE_PREFIX then it could be bundle exec spring or bin/spring, or if you use something else then you could change the prefix.

prefix = ENV['KNAPSACK_PRO_CUCUMBER_QUEUE_MODE_PREFIX'] || 'bundle exec'
cmd = %Q[#{prefix} cucumber #{args} --require #{runner.test_dir} -- #{stringify_test_file_paths}]

from knapsack_pro-ruby.

ArturT avatar ArturT commented on June 18, 2024

@andrcuns I've released a new version of knapsack_pro gem 1.17.0. Please update it.

I also updated README, installation guide and added info to FAQ https://knapsackpro.com/faq/question/how-to-use-spring-gem-to-run-cucumber-tests-faster-in-queue-mode

from knapsack_pro-ruby.

Related Issues (20)

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.