From 3e4c803ee130af5493b52a8187dc46048c9c7648 Mon Sep 17 00:00:00 2001 From: PRASAD TILLOO Date: Thu, 27 Jul 2023 17:03:00 +0200 Subject: [PATCH] Update CONTRIB_TEST.md --- CONTRIB_TEST.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/CONTRIB_TEST.md b/CONTRIB_TEST.md index cfeb0bb..d3cb9ac 100644 --- a/CONTRIB_TEST.md +++ b/CONTRIB_TEST.md @@ -20,6 +20,7 @@ E.g., `touch catalog/conformance-tests/result-example-solution-001.json` Open the `json` file created in step 5. and fill it adapting the following structure: +Scenario 1: If you tested your solution with another Organization's solution ```javascript { "tested_solution": { @@ -36,7 +37,23 @@ Open the `json` file created in step 5. and fill it adapting the following struc "pathfinder_version": "" // "1.0.0" or "1.0.1" or "2.0.0" or "2.0.1" } ``` - +Scenario 2: If you tested your solution with an Organization who doesn't have a solution yet or have a solution but not yet onboarded to the PACT Catalog +```javascript +{ + "tested_solution": { + "solution_id": "", // e.g. 'Example Solution' has solution id "example-solution" + "version": "" // e.g. "0.0.0" + }, + "tested_by": { + "solution_name": "", // This name must match with the User Name this Organization has registered itself in the PACT Catalog e.g. "ABC Corp" + "version": "", // leave it empty + "solution_id": "" // leave it empty + }, + "test_result": "passed", + "test_date": "", + "pathfinder_version": "" // "1.0.0" or "1.0.1" or "2.0.0" or "2.0.1" +} +``` The `"solution_id"` property of the `"tested_by"` attribute is optional, but highly recommended. All other fields are mandatory. In case your solution did not pass the test but you nevertheless want to add the conformance test result to the catalog, replace the value of the `"test_result"` field by `"failed"`.