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

Allow to use short example definition #503

Open
artofhuman opened this issue Sep 7, 2022 · 0 comments
Open

Allow to use short example definition #503

artofhuman opened this issue Sep 7, 2022 · 0 comments

Comments

@artofhuman
Copy link

This is an enhancement request.

Proposal:
Allow to use example in two ways

  1. Test case without description. Such tests should not be rendered in documentation.
example do
   do_request
   # ...
end

It should allow writing tests cases without noisy document: false. Also, tests wrote with using rspec it should not be passed to documentation without description

it do
  do_request
  #...
end
  1. Add :nodoc according document: false.
example "get items", :nodoc do
   do_request
   # ...
end
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

No branches or pull requests

1 participant