-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feature: "Focused" specs #185
Comments
ezzatron
added a commit
that referenced
this issue
Nov 18, 2016
ezzatron
added a commit
that referenced
this issue
Nov 21, 2016
Closed
Merged
ezzatron
added a commit
that referenced
this issue
Nov 28, 2016
ezzatron
added a commit
that referenced
this issue
Dec 1, 2016
ezzatron
added a commit
that referenced
this issue
Dec 4, 2016
This was referenced Dec 7, 2016
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been trying out Ginkgo, a describe/it style testing framework for Go. One of it's awesome features is "focused" specs, which allow a developer to isolate individual suites and/or specs, without needing to pass filters via the CLI.
They function in a similar manner to Peridot's "pending" specs. The idea being that when you use an
f
prefix instead of anx
, all specs except the prefixed ones are skipped.IMO, this would be an even more useful feature than #181. I find it much easier to put an
f
in front of anit()
block than to worry about running the Peridot CLI with a specific path or filter pattern.We could of course still include a CLI mechanism, and base it off of the concept of "focused" specs. Gingko does this via the CLI options
--focus=REGEXP
and/or--skip=REGEXP
.The text was updated successfully, but these errors were encountered: