Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Example names are being ignored and replaced by 'Example X' #3

Closed
wants to merge 2 commits into from

Conversation

ecstasy2
Copy link

Example names are being ignored and alway uses generated name like ‘Example 1’, ‘Example 2’

This is probablamitc for tools like Dredd where you use the name of the example to set-up the test. The consequence of the bug is that you cannot re-order your blueprint examples without causing all tests to fail.

@ecstasy2 ecstasy2 changed the title Example names are being ignored and alway uses generated name like ‘E… Example names are being ignored and replaced by 'Example X' Nov 19, 2015
@honzajavorek
Copy link
Contributor

@ecstasy2 I think you are confusing Request names and Transaction Example names. Transaction Examples are implicit groupings of Requests and Responses within an Action and unlike Requests, they have no names, just order number. Please see this part of specs. I tried to clarify this a bit in apiaryio/api-blueprint#304.

You are right though in a sense that the current way of compiling of the path still isn't completely thorough and needs some more work, because you basically can't address specific Request, just the implicit Transaction Example. I'm about to work on spec how it could work and implementation should follow, too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants