8000 Possible to run multiple tests at once? · Issue #16 · judofyr/minitest-line · GitHub
[go: up one dir, main page]

Skip to content
  • Possible to run multiple tests at once? #16

    Open

    Description

    @maxp-edcast

    Say there are two tests, one at line 20 and one at line 40. Is there a way to run both of these with a single command?

    Activity

    1. grosser commented on Dec 6, 2017

      @grosser
      Contributor

      no, but please add a PR for it, should be a neat little feature ... I think rspec/cucumber support that ... use their syntax as inspiration

    2. judofyr commented on Dec 8, 2017

      @judofyr
      Owner

      I wouldn't be opposed to adding it, but I don't understand see the workflow. If I have multiple tests I want to run I'd rather create a filter. My use case for minitest-line is more "quickly glance at the line number I'm current on" in order to run the current test.

    3. maxp-edcast commented on Dec 8, 2017

      @maxp-edcast
      Author

      @judofyr I'm not aware of this filter capability, can you give an example? Also what do you mean by quickly glance at the line number? Like when a test fails you can quickly see which one it is and try running it again?

    4. judofyr commented on Dec 9, 2017

      @judofyr
      Owner

      Filtering by test name:

      ruby test_foo.rb -n /regexp_that_matches_test_name/

      My use case for minitest-line was mainly while I was writing a test I wanted a quick way to run it. As I write/tweak a test I just need the filename and the approximate line number and I can quickly run it.

    5. Nakilon commented on Apr 15, 2024

      @Nakilon

      I don't understand see the workflow

      When you look at tests run report and decide to rerun a specific several of them.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Type

      No type

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

      • 0