You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You could do something similar, and rather than do an include, if the file path has some sort of name, tag them all, and then on the tags, do run_request or whatever.
I could help with a PR if this is something you like.
The text was updated successfully, but these errors were encountered:
Seems like this could be useful for the resources dsl. Maybe spec/resources could include the resources dsl.
While I hadn't considered this behavior before, I have considered something similar. Are you familiar with capybara's rspec dsl? Capybara defines a method that creates a context with identifying metadata and configures RSpec to include the DSL for examples with that metadata.
I haven't spent any time developing ease-of-use features like this, because there has not been much use and I'm not clear what the pain points actually are. I would be happy to accept and support this feature if there is interest from users.
Check it: https://github.com/jcasimir/draper/blob/master/lib/draper/test/rspec_integration.rb
You could do something similar, and rather than do an
include
, if the file path has some sort of name, tag them all, and then on the tags, do run_request or whatever.I could help with a PR if this is something you like.
The text was updated successfully, but these errors were encountered: