Filter tests by tags
Implement the ability to filter tests by tags. RSpec does this by adding tags to the end of an it
line.
https://relishapp.com/rspec/rspec-core/v/3-8/docs/filtering/inclusion-filters
require "spec_helper"
RSpec.describe "something" do
it "does one thing" do
end
it "does another thing", focus: true do
end
it "does something else", :focus do
end
end
Perhaps do something similar or use Attributes.
Spectator.describe "something" do
it "does one thing" do
end
it "does another thing", focus: true do
end
it "does something else", :focus do
end
@[Tag(filter: true)]
it "doesn't do anything" do
end
end