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
I see that there is an option of --localPostman which isn't overly documented, so I'm probably misunderstanding its use case.
I'm already using https://github.com/postmanlabs/openapi-to-postman to generate a postman file from my OpenAPI spec, so I then assumed that from the generated Postman Collection I could call npx @apideck/portman --localPostman postmanCollection.json to populate the Postman Collection with tests.
Using --localPostman, it would still need the OpenAPI spec for the additional info to generate the tests on.
The OpenAPI is considered the single source, to base it tests on.
A suggestion would be to let Portman generate the Postman collection, skipping using the locally generated Postman collection.
I don't actually need this functionality anymore as much as i thought i did when posting... but in your documentation it says:
--localPostman Use local Postman collection, skips OpenAPI conversion
which to my (maybe wrong) reading, suggests i don't need to pass though an OpenAPI file, that I can pass through an already generated postman collection (via https://github.com/postmanlabs/openapi-to-postman) and that it will scan through and attach tests (or whatever you have setup your config to do).
That's my reading of what that option would do anyway.
I see that there is an option of
--localPostman
which isn't overly documented, so I'm probably misunderstanding its use case.I'm already using https://github.com/postmanlabs/openapi-to-postman to generate a postman file from my OpenAPI spec, so I then assumed that from the generated Postman Collection I could call
npx @apideck/portman --localPostman postmanCollection.json
to populate the Postman Collection with tests.Calling it like this, generates:
Leaving an empty tmp folder.
I take it ii'm using the option incorrectly or that manipulating an existing postman collection to add tests is not possible?
Cheers
The text was updated successfully, but these errors were encountered: