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
The endpoint must be called twice with different arguments which is confusing and not documented on the operation. In a conversation with @timotheeguerin tests aren't supposed to follow this pattern.
The text was updated successfully, but these errors were encountered:
jhendrixMSFT
changed the title
Test multiBinaryParts must be called twice with different payloads
Test multiBinaryParts must be called twice with different arguments
Jun 18, 2024
If you send twice that one has picture and the other has no picture, it definitely proves picture of your generated SDK is optional; if only send once with picture or with no picture, it is not enough to prove generated SDK is right.
Test should NOT be needing ever to be called twice this should be converted to 2 test
This means you are describing 2 feature in one and is terrible for new emitters to write test and understand that as well
For reference: https://github.com/Azure/cadl-ranch/blob/main/packages/cadl-ranch-specs/http/payload/multipart/main.tsp#L246-L250
The endpoint must be called twice with different arguments which is confusing and not documented on the operation. In a conversation with @timotheeguerin tests aren't supposed to follow this pattern.
The text was updated successfully, but these errors were encountered: