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
Right now, all examples under a resource are flattened to a single list, so tests that have the same example name across different contexts to highlight different behaviors lose this organization. For example, given a test like:
resource"Blog"doget"/blog/:client_id"docontext"as the page owner"dobefore{sign_in}example_request"responds with 200"doexpect(status).toeq200endendcontext"as a visitor"doexample_request"responds with 200"doexpect(status).toeq200endendendend
Would generate docs structured like
Blog
- responds with 200
- responds with 200
So the request detail GET /blog/:client and the context of each example are left out.
This can be worked around with more verbose example descriptions, but would y'all be open to considering an update to the HTML doc writer to include the structure of the tests so the index output is more like
Blog
- GET /blog/:client_id
- as a page owner
- responds with 200
- as a visitor
- responds with 200
The text was updated successfully, but these errors were encountered:
Right now, all examples under a resource are flattened to a single list, so tests that have the same example name across different contexts to highlight different behaviors lose this organization. For example, given a test like:
Would generate docs structured like
So the request detail
GET /blog/:client
and the context of each example are left out.This can be worked around with more verbose example descriptions, but would y'all be open to considering an update to the HTML doc writer to include the structure of the tests so the index output is more like
The text was updated successfully, but these errors were encountered: