juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.35k stars 1.34k forks source link

[FEATURE] Allow service level test case collections in test-utils #4040

Closed kashif-m closed 4 months ago

kashif-m commented 8 months ago

Feature Description

test-utils crate helps in invoking postman test collections stored under postman/newman-dir. This directory expects connector level test cases, so the directory structure looks something like this

image

All the collections maps to a single connector name. Since there is a single connector involved in a given test collection, there is provision for consuming only one single connector's auth at a given time.

We are adding payout specific test cases which would include multiple connectors, and requires the same for running a few test cases (routing + retries). How can this be handled?

Possible Implementation

There could be multiple ways of incorporating these test cases.

Have you spent some time checking if this feature request has been raised before?

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

kashif-m commented 4 months ago

Being added as a part of cypress tests