Skip to content

add support for running make test from URL #22

@ksatirli

Description

@ksatirli

Currently, running make test invokes newman with a predefined, Pack-specific path:

newman run "$(DIR_PACKS)/$(strip $(pack))/tests/newman.json" \

While this works for a file-system based Postman Collection, it makes it more cumbersome to collaborate with other contributors to a Postman Collection, as the process currently is:

1.) Update Postman Collection
2.) Export Postman Collection to packs/<Pack name>/tests/newman.json
3.) Commit new / changed file

By adding support for URL, and defining a check (if URL is set, default to that, else use file-system, with an override of e.g. POSTMAN_LOCAL_ONLY), we can depend on Postman Collections that are stored remotely.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions