Giter VIP home page Giter VIP logo

Comments (4)

partounian avatar partounian commented on May 25, 2024 1

Hey,

Sadly I haven't been using Ruby since my last job so I don't have a need for this.

from knapsack_pro-ruby.

ArturT avatar ArturT commented on May 25, 2024

Hi @partounian

Basically, you would like the seed number to be automatically added to the below message:

I, [2021-08-06T22:43:53.827804 #47352]  INFO -- : [knapsack_pro] To retry in development the subset of tests fetched from API queue please run below command on your machine. If you use --order random then remember to add proper --seed 123 that you will find at the end of rspec command.
I, [2021-08-06T22:43:53.827920 #47352]  INFO -- : [knapsack_pro] bundle exec rspec --format d  --default-path spec "spec/controllers/dashboard/pending_controller_spec.rb"

We would need to figure out how to extract the seed number from RSpec.
I'm not sure if RSpec provides a way for that.
This should be a good starting point if you would like to help with this.

I'm wondering should we always add the bisect option? Maybe not every user wants to use it?
Docs for bisect.
https://relishapp.com/rspec/rspec-core/docs/command-line/bisect

from knapsack_pro-ruby.

shadre avatar shadre commented on May 25, 2024

@partounian displaying of the relevant --seed option has been added in the 3.4.1 version.

from knapsack_pro-ruby.

ArturT avatar ArturT commented on May 25, 2024

I was wondering, maybe adding the --bisect option should be a user decision, not the knapsack_pro gem doing it by default. I can imagine someone wants to just retry tests without the bisect option.

@partounian Is adding --bisect option still something you find useful and needed? Or it's not needed, and we could close this issue for now.

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.