Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add focus for describe blocks #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jqr
Copy link

@jqr jqr commented Feb 23, 2024

Allow calling focus on/before a describe block to focus on all tests within.

describe "My Test" do
  focus
  describe "Group 1" do
    it "will run this" {}  # previous was _just_ this focus
    it "and this"      {}  # now runs this as well
    describe do
      it "this too"    {}  # double nesting also
    end
  end
end

@zenspider zenspider self-assigned this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants