{"_id":"@amagyar-iohk/didcomm-test","_rev":"4-4e8c5371d9611acd3f6b2f6f541b4082","name":"@amagyar-iohk/didcomm-test","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@amagyar-iohk/didcomm-test","version":"1.0.0","author":{"name":"Allain Magyar"},"license":"ISC","_id":"@amagyar-iohk/didcomm-test@1.0.0","maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"dist":{"shasum":"0345f510582651469612e062079dc1e7358f740d","tarball":"https://registry.npmjs.org/@amagyar-iohk/didcomm-test/-/didcomm-test-1.0.0.tgz","fileCount":3,"integrity":"sha512-ViCP5BC4oEF7mIOGOn7eI0VgJGXIhV/8BohDKhvlC6II4V6MB60ehckbfjHKRbCD9CbaMSbMSpUrfJJL/VpDug==","signatures":[{"sig":"MEUCIQD1ozayNJbj9O/z5cDand6xId/siv7YQFLU+DxnCjqPjQIgbuREDClEeF4dnbByja+eI0rNw8h62Q+nkAaGK9I8djg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13925152},"main":"index.ts","scripts":{"test":"npx tsx --test --test-reporter spec --test-reporter junit --test-reporter-destination=stdout --test-reporter-destination=junit.xml  \"./test/*.ts\"","build":"tsx generate-suite","test:dist":"node dist/suite.spec.js"},"_npmUser":{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"},"_npmVersion":"10.9.0","description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"glob":"^10.4.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsx":"^4.19.1","chai":"^5.1.1","esbuild":"^0.24.0","fastify":"^5.0.0","typescript":"^5.6.3","@types/chai":"^5.0.0","@types/node":"^22.7.6","@hyperledger/identus-edge-agent-sdk":"file:hyperledger-identus-edge-agent-sdk-3.1.0.tgz"},"_npmOperationalInternal":{"tmp":"tmp/didcomm-test_1.0.0_1730382028022_0.13606830726722707","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@amagyar-iohk/didcomm-test","version":"1.0.1","author":{"name":"Allain Magyar"},"license":"ISC","_id":"@amagyar-iohk/didcomm-test@1.0.1","maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"dist":{"shasum":"d75bf1c1ff14d722cebf8c21a84d7c7db18f74ba","tarball":"https://registry.npmjs.org/@amagyar-iohk/didcomm-test/-/didcomm-test-1.0.1.tgz","fileCount":3,"integrity":"sha512-BN/xRspSfTG9rylTilIgdjdsmd7kNUkTbYru1oDTRrLsDrWLt4RZL0JVvJ4cng0XPinlv0v+P8qibMP2W13OBQ==","signatures":[{"sig":"MEYCIQCYbKXP0Ae2eORAuxgedqPziA+hpXxkadvF+oZFzz4caAIhAJAZIioJenLkBwIUSkJIuNZIZF7OhTcw5DkCtt8HIXJI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13925105},"main":"index.ts","scripts":{"test":"npx tsx --test --test-reporter spec --test-reporter junit --test-reporter-destination=stdout --test-reporter-destination=junit.xml  \"./test/*.ts\"","build":"tsx generate-suite","test:dist":"node dist/suite.spec.js"},"_npmUser":{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"},"_npmVersion":"10.9.0","description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","directories":{},"_nodeVersion":"21.7.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsx":"^4.19.1","chai":"^5.1.1","esbuild":"^0.24.0","fastify":"^5.0.0","typescript":"^5.6.3","@types/chai":"^5.0.0","@types/node":"^22.7.6","@hyperledger/identus-edge-agent-sdk":"file:hyperledger-identus-edge-agent-sdk-3.1.0.tgz"},"_npmOperationalInternal":{"tmp":"tmp/didcomm-test_1.0.1_1730382138761_0.4915274187780909","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@amagyar-iohk/didcomm-test","version":"1.0.2","author":{"name":"Allain Magyar"},"license":"ISC","_id":"@amagyar-iohk/didcomm-test@1.0.2","maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"dist":{"shasum":"8a87723aecda53b9d0ddbd1356fa00197da48c30","tarball":"https://registry.npmjs.org/@amagyar-iohk/didcomm-test/-/didcomm-test-1.0.2.tgz","fileCount":3,"integrity":"sha512-DUipaRyjA+ogpJXdliOsl50VAfkFyR6L43z+stTMNhtcbpqJm636oiGMyq/2S42AU3EousX01WwoTEa/SrzeZw==","signatures":[{"sig":"MEQCICoYru9AF6rcPtVqbNqFl4A4/xKMsmcGIQuKKOs8ucaXAiAZ/pdZmb15tf7B1ffd3xyNf/5qGxCI5Yl+EAbdaQOsAQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13950748},"main":"index.ts","scripts":{"test":"npx tsx --test --test-reporter spec --test-reporter junit --test-reporter-destination=stdout --test-reporter-destination=junit.xml  \"./test/*.ts\"","build":"tsx generate-suite","test:dist":"node dist/suite.spec.js"},"_npmUser":{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"},"_npmVersion":"10.9.0","description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","directories":{},"_nodeVersion":"21.7.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsx":"^4.19.1","chai":"^5.1.1","esbuild":"^0.24.0","fastify":"^5.0.0","typescript":"^5.6.3","@types/chai":"^5.0.0","@types/node":"^22.7.6","@hyperledger/identus-edge-agent-sdk":"file:hyperledger-identus-edge-agent-sdk-3.1.0.tgz"},"_npmOperationalInternal":{"tmp":"tmp/didcomm-test_1.0.2_1730382717164_0.5605256741302957","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@amagyar-iohk/didcomm-test","version":"1.0.3","author":{"name":"Allain Magyar"},"license":"ISC","_id":"@amagyar-iohk/didcomm-test@1.0.3","maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"homepage":"https://github.com/amagyar-iohk/didcomm-test#readme","bugs":{"url":"https://github.com/amagyar-iohk/didcomm-test/issues"},"dist":{"shasum":"1f6d6a9695a53575b728267c38917f3a06d1b991","tarball":"https://registry.npmjs.org/@amagyar-iohk/didcomm-test/-/didcomm-test-1.0.3.tgz","fileCount":3,"integrity":"sha512-za63YIrZJxep8BzBt9o8lo56HDLJvn/ndsH1UwLbL+DjdV1/+FHccgHC9fMZyal8GOoyVRFGrUsF6vY+jRXiyA==","signatures":[{"sig":"MEUCIQCWzrx0nKpFf2HnhQdmnNC3FOXwTUfOlmqCa7BCg5oDPAIgEF6l0N9AXHK2k00yoFzdltV94TVrRnsuwkeaj4pVOL0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13950855},"main":"index.ts","gitHead":"136824fc4d826fd4532529ba0fd1f0bd0dcc391e","scripts":{"test":"npx tsx --test --test-reporter spec --test-reporter junit --test-reporter-destination=stdout --test-reporter-destination=junit.xml  \"./test/*.ts\"","build":"tsx generate-suite","test:dist":"node dist/suite.spec.js"},"_npmUser":{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"},"repository":{"url":"git+https://github.com/amagyar-iohk/didcomm-test.git"},"_npmVersion":"10.9.0","description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","directories":{},"_nodeVersion":"21.7.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsx":"^4.19.1","chai":"^5.1.1","esbuild":"^0.24.0","fastify":"^5.0.0","typescript":"^5.6.3","@types/chai":"^5.0.0","@types/node":"^22.7.6","@hyperledger/identus-edge-agent-sdk":"file:hyperledger-identus-edge-agent-sdk-3.1.0.tgz"},"_npmOperationalInternal":{"tmp":"tmp/didcomm-test_1.0.3_1730404103903_0.24804078810153207","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@amagyar-iohk/didcomm-test","version":"1.0.4","description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","main":"index.ts","scripts":{"build":"tsx generate-suite","test":"npx tsx --test --test-reporter spec --test-reporter junit --test-reporter-destination=stdout --test-reporter-destination=junit.xml  ./test/*.ts","test:dist":"node dist/suite.spec.js"},"author":{"name":"Allain Magyar"},"repository":{"url":"git+https://github.com/amagyar-iohk/didcomm-test.git"},"license":"ISC","devDependencies":{"@hyperledger/identus-edge-agent-sdk":"file:hyperledger-identus-edge-agent-sdk-3.1.0.tgz","@types/chai":"^5.0.0","@types/node":"^22.7.6","chai":"^5.1.1","esbuild":"^0.24.0","fastify":"^5.0.0","tsx":"^4.19.1","typescript":"^5.6.3"},"publishConfig":{"access":"public"},"_id":"@amagyar-iohk/didcomm-test@1.0.4","gitHead":"ddad06be76bc0a1cc7c6d2762f591c20fd7f8483","bugs":{"url":"https://github.com/amagyar-iohk/didcomm-test/issues"},"homepage":"https://github.com/amagyar-iohk/didcomm-test#readme","_nodeVersion":"21.7.3","_npmVersion":"10.9.0","dist":{"integrity":"sha512-8chcw8uTZJukiVEaHcmpSfE1haVL313MS9Qvkazk1oZnYLRUzKn8xCqNrXbbkODywodnucix8BguvHunIl+EpQ==","shasum":"fe18297c8f1401d3666b019c03b24ff474ed0741","tarball":"https://registry.npmjs.org/@amagyar-iohk/didcomm-test/-/didcomm-test-1.0.4.tgz","fileCount":3,"unpackedSize":13950989,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0A7a2iwNZbQlXA0BJGCZ4sFwEvcwvlqaJ+Ce61xz2kAiBxfFBLF43NNkIR8edU1WwkgFXbsI4rpPyGBsj4e8ciqw=="}]},"_npmUser":{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"},"directories":{},"maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/didcomm-test_1.0.4_1730723415570_0.7836120784961815"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-31T13:40:27.931Z","modified":"2024-11-04T12:30:15.974Z","1.0.0":"2024-10-31T13:40:28.266Z","1.0.1":"2024-10-31T13:42:19.015Z","1.0.2":"2024-10-31T13:51:57.463Z","1.0.3":"2024-10-31T19:48:24.281Z","1.0.4":"2024-11-04T12:30:15.828Z"},"bugs":{"url":"https://github.com/amagyar-iohk/didcomm-test/issues"},"author":{"name":"Allain Magyar"},"license":"ISC","homepage":"https://github.com/amagyar-iohk/didcomm-test#readme","repository":{"url":"git+https://github.com/amagyar-iohk/didcomm-test.git"},"description":"This integration tests leverage a modified version of the identus typescript edge-agent that enable us to modify the didcomm requests.","maintainers":[{"name":"amagyar-iohk","email":"allain.magyar@iohk.io"}],"readme":"# DidComm tests\n\nThis integration tests leverage a modified version of the identus typescript\nedge-agent that enable us to modify the didcomm requests.\n\nThis modified library is in the `tgz` file located in the root.\n\n## Build\n\nTo speed up the execution time in github runner, there's a `build` script that\ncreates a bundled execution file in the `dist` folder which can be executed\nusing only the `node dist/suite.spec.js` command.\n\nTo build the dist file just execute `npm run build`.\n\nThe execution in github runner uses the `dist` version\n\n## Usage\n\nBefore starting the tests you have to have the `cloud-agent` and `mediator` running\n\nYou can start by `cd docker` and running `./run.sh <cloud-agent-version>` script.\n\n> It uses the ports 8080, 8090, 8091\n\n\n### Environment variables\n\n| variable         | description                         | default                               |\n|------------------|-------------------------------------|---------------------------------------|\n| CLOUD_AGENT_URL  | Url for cloud-agent                 | <http://localhost:8090>               |\n| MEDIATOR_OOB_URL | Url for mediator oob invitation     | <http://localhost:8080/invitationOOB> |\n| WEBHOOK_PORT     | Port for the local server listen to | 3000                                  |\n| WEBHOOK_URL      | Url for webhook url                 | <http://host.docker.internal:3000>    |\n\n### Running tests\n\nInstall the dependencies running `npm i`.\n\nTo run the entire suite during the development you can use `npm test`.\n\nor\n\nYou can filter the test by name using `npx tsx --test --test-reporter spec \"./test/<file-name>.ts\"`\nto run a single file.\n\n## Implementing new scenarios\n\nAdd the test to the `test` folder with `.spec.ts` extension.\n\nThis test uses the [node test framework](https://nodejs.org/api/test.html) for\nsimplicity and [chai library](https://www.chaijs.com/) for assertions.\n\n> Remember to run `npm run build` to generate the bundled file for the automation\n","readmeFilename":"README.md"}