postman/README.md
This directory contains the Postman collection for all Hyperswitch supported connectors and this documentation talks about how to build the collection.
stripe.postman_collection.json is the most up-to-date collection that consists of all the features that Hyperswitch supportsstripe.postman_collection.json as the base collection to build the collection for other connectorsstripe.postman_collection.json given that it is a core feature. If it is collection specific, add it to the respective collectionFlow Testcases directory. If you did a refactor that handles errors say, expiry date of a card, make sure you add the test case to the Variation Cases directory prefixed by Scenario-<number> where <number> is the number of the scenarioHappy Cases directory where only the happy cases are tested.tests section where the necessary javascript code has to written/updated to test the feature (assertion checks where you verify the results obtained with the expected outcome)tests need to be run at the time of making a request, make sure you add them to the Pre-request Script section of the requestnewman dir-export command will fail which is used to export the collection to its directory structurev2.1 and save it postman/collection-json directory with file name following the format <connector_name>.postman_collection.jsonnewman dir-export /path/to/collection.json and move the folder to postman/collection-dir (for more info, refer to Newman-Fork) with the folder renamed with name of the connector