{"_id":"@ai-testing-tool/forge-vitest","_rev":"5-69a6a59236fa75abd8bc77aa902af641","name":"@ai-testing-tool/forge-vitest","dist-tags":{"latest":"2.2.1"},"versions":{"2.0.0":{"name":"@ai-testing-tool/forge-vitest","version":"2.0.0","keywords":["ai-testing-tool","vitest","reporter","testing","jira"],"license":"Apache-2.0","_id":"@ai-testing-tool/forge-vitest@2.0.0","maintainers":[{"name":"jvuvo2006","email":"vuvo.junior@gmail.com"},{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"}],"dist":{"shasum":"9b89a8d7e8bc14bf9a45d21465524aa9a5863b79","tarball":"https://registry.npmjs.org/@ai-testing-tool/forge-vitest/-/forge-vitest-2.0.0.tgz","fileCount":9,"integrity":"sha512-SnhFOZprTs8SAfSXwiuuFCKKzn+/2mhjFrcX7+PXg+jtfSBI0BiTkQodeTSf7lvbEfzvifuiPb/RR7DOmbKDcQ==","signatures":[{"sig":"MEUCIHjO2ezOd+vaKw/Icvlnqh0rQ4XwFdWQzABSP0UTpLfiAiEA3RfvnBrhbUcIEEUlnSBp3rsKRyshmdChB6PjDQeJsYY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28431},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./vitest":{"types":"./dist/vitest.d.ts","default":"./dist/vitest.js"},"./package.json":"./package.json"},"gitHead":"fd15af83f1cde54acd20f41e55fc85e67cb7da35","scripts":{"test":"vitest run --config ../examples/single/vitest/vitest.config.ts --project qa-vitest","build":"npm run clean && npx tsc --project tsconfig.build.json","clean":"rm -rf dist","prepublishOnly":"npm test"},"_npmUser":{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"},"_npmVersion":"10.9.2","description":"AI Testing Tool Vitest reporter — ingest or file modes via @ai-testing-tool/forge-commons","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@ai-testing-tool/forge-commons":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4"},"peerDependencies":{"vitest":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/forge-vitest_2.0.0_1789001770174_0.4466546091510082","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@ai-testing-tool/forge-vitest","version":"2.1.0","keywords":["ai-testing-tool","vitest","reporter","testing","jira"],"license":"Apache-2.0","_id":"@ai-testing-tool/forge-vitest@2.1.0","maintainers":[{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"}],"dist":{"shasum":"2f0dac8045d535b90fa4f5c28bec86825583ccbc","tarball":"https://registry.npmjs.org/@ai-testing-tool/forge-vitest/-/forge-vitest-2.1.0.tgz","fileCount":9,"integrity":"sha512-vXfPUArmk9555jdRXF4DeGHsHgQlPCaeUtb8f2uZlQaNe1xJHP7CwG0ndmnIvCdBynoYEiqB/oO501TsbhU8gw==","signatures":[{"sig":"MEUCIQCfD7EOPGBKACC2nxsVu29X+Px0F00wp9PYRN1twL9evwIgeym0x9JHEHS+nP4k8UZmpg61JZgFi/9hI7Wh74Wdfnc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEIGYDlMpR8ZHkGkeTg9A37PJH26cLHl/YFzreREKtubAiAnIq68KjrZUnFfb2hjqA3+2rDyVJFQw82ON7J6Q9CQJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29903},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./vitest":{"types":"./dist/vitest.d.ts","default":"./dist/vitest.js"},"./package.json":"./package.json"},"gitHead":"6a6bbfb270e7d4d34b9cc942861f53ccc572f130","scripts":{"test":"vitest run --config ../examples/single/vitest/vitest.config.ts --project qa-vitest","build":"npm run clean && npx tsc --project tsconfig.build.json","clean":"rm -rf dist","prepublishOnly":"npm test"},"_npmUser":{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"},"_npmVersion":"10.9.2","description":"AI Testing Tool Vitest reporter — ingest or file modes via @ai-testing-tool/forge-commons","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@ai-testing-tool/forge-commons":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4"},"peerDependencies":{"vitest":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/forge-vitest_2.1.0_1789133837375_0.684261052148831","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@ai-testing-tool/forge-vitest","version":"2.2.0","keywords":["ai-testing-tool","vitest","reporter","testing","jira"],"license":"Apache-2.0","_id":"@ai-testing-tool/forge-vitest@2.2.0","maintainers":[{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"}],"dist":{"shasum":"c975da3005c00df5205c4fc117378560e5f309f8","tarball":"https://registry.npmjs.org/@ai-testing-tool/forge-vitest/-/forge-vitest-2.2.0.tgz","fileCount":9,"integrity":"sha512-1Q8bB7DRLsWtEoVMiYFquyrLxAu6Qm2onIbJsyPCwOaQNgmZFXM4SQc5jiNx4ZHc+JagpMqGlkCjt3My8tS2TQ==","signatures":[{"sig":"MEYCIQDkXmLpDa4QJTP25Pcks1+vxXV43qz9nmWRfrOHE6SMxAIhAK8R+OEC0+Nk1ZkMvep/HpKzm33qVM3CwzBvzIg9tDsf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDGkZHIlpeGejuA4b1K8vK0YX7Gb0+nkvgNnmRi0ush5gIhAOfD11K4lHhp5CJ/kG9l5GWxcUPWkrbYbZgTYcUC4GxV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29903},"main":"./dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./vitest":{"types":"./dist/vitest.d.ts","default":"./dist/vitest.js"},"./package.json":"./package.json"},"gitHead":"41f9e959765c56709746d085839a7a2c59bab48e","scripts":{"test":"vitest run --config ../examples/single/vitest/vitest.config.ts --project qa-vitest","build":"npm run clean && npx tsc --project tsconfig.build.json","clean":"rm -rf dist","prepublishOnly":"npm test"},"_npmUser":{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"},"_npmVersion":"10.9.2","description":"AI Testing Tool Vitest reporter — ingest or file modes via @ai-testing-tool/forge-commons","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@ai-testing-tool/forge-commons":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4"},"peerDependencies":{"vitest":">=3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/forge-vitest_2.2.0_1789744376675_0.046620967291088666","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"_id":"@ai-testing-tool/forge-vitest@2.2.1","dist":{"shasum":"7f47f414fe9dfc980d07d69aa38852af160074a7","tarball":"https://registry.npmjs.org/@ai-testing-tool/forge-vitest/-/forge-vitest-2.2.1.tgz","fileCount":9,"integrity":"sha512-ud+gO9si9SwZW8+gAA/lJOrzJdtXM6EWC76pLehYCBZooF32AGLNzgv9j0O5W/Iw1795CXBoT7HQ/Usbbud+6Q==","signatures":[{"sig":"MEUCIQDboy9wpi2wbxa8SI8ALXCe6Uy3Bg3ebtSwroSysVaceAIgQ41kN5bqoExbGBh062fk1FrUct9LoYzvvmF2woIdqtE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCYhuNuG4+Z6TG3qwO66VeuDervJQouiGNFEM1IbNgH7QIhAKiqUJGtyKBldT2A0rGvgOQN/U0gqJjRMH+0owE5e8pp"}],"unpackedSize":29903},"main":"./dist/index.js","name":"@ai-testing-tool/forge-vitest","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./vitest":{"types":"./dist/vitest.d.ts","default":"./dist/vitest.js"},"./package.json":"./package.json"},"gitHead":"3331e6bac1ab0d878687e6f9cfd1e7d4110ea625","license":"Apache-2.0","scripts":{"test":"vitest run --config ../examples/single/vitest/vitest.config.ts --project qa-vitest","build":"npm run clean && npx tsc --project tsconfig.build.json","clean":"rm -rf dist","prepublishOnly":"npm test"},"version":"2.2.1","_npmUser":{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"},"keywords":["ai-testing-tool","vitest","reporter","testing","jira"],"_npmVersion":"10.9.2","description":"AI Testing Tool Vitest reporter — ingest or file modes via @ai-testing-tool/forge-commons","directories":{},"maintainers":[{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"}],"_nodeVersion":"22.14.0","dependencies":{"@ai-testing-tool/forge-commons":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4"},"peerDependencies":{"vitest":">=3.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/forge-vitest_2.2.1_1790359189667_0.8457523090690111"}}},"time":{"created":"2026-09-10T00:56:09.997Z","modified":"2026-09-25T17:59:49.921Z","2.0.0":"2026-09-10T00:56:10.327Z","2.1.0":"2026-09-11T13:37:17.472Z","2.2.0":"2026-09-18T15:12:56.789Z","2.2.1":"2026-09-25T17:59:49.754Z"},"license":"Apache-2.0","keywords":["ai-testing-tool","vitest","reporter","testing","jira"],"description":"AI Testing Tool Vitest reporter — ingest or file modes via @ai-testing-tool/forge-commons","maintainers":[{"name":"jsoft_publisher","email":"jsoftconnector@gmail.com"}],"readme":"# @ai-testing-tool/forge-vitest\n\nVitest reporter for **AI Testing Tool** (Jira Forge quality hub).\n\n## Install\n\n```bash\nnpm install -D @ai-testing-tool/forge-vitest @ai-testing-tool/forge-commons\n```\n\n## Configure\n\n```ts\n// vitest.config.ts\nimport { defineConfig } from 'vitest/config';\n\nexport default defineConfig({\n  test: {\n    reporters: [\n      'default',\n      [\n        '@ai-testing-tool/forge-vitest',\n        {\n          // Defaults to mode=off (no credentials required)\n          // mode: 'ingest' | 'file' | 'off',\n          // projectKey: 'DEMO',\n        },\n      ],\n    ],\n  },\n});\n```\n\n### Modes\n\n| Mode | Behavior |\n| ---- | -------- |\n| `off` (default) | No network / file write |\n| `file` | Writes ingest payload (default `./ai-testing-tool-results.json`) |\n| `ingest` | POSTs the payload with `format: vitest-json` |\n\nEnv (same as CLI): `AI_TESTING_TOOL_MODE`, `AI_TESTING_TOOL_PROJECT_KEY`, `AI_TESTING_TOOL_INGEST_URL`, `AI_TESTING_TOOL_INGEST_TOKEN`, `AI_TESTING_TOOL_LAUNCH_NAME`.\n\n## Helpers\n\n```ts\nimport { describe, expect, test } from 'vitest';\nimport { withQa } from '@ai-testing-tool/forge-vitest/vitest';\n\ntest(\n  'AUTH-101 login',\n  withQa(async ({ qa }) => {\n    await qa.suite('Auth');\n    await qa.step('open form', async () => {\n      expect(true).toBe(true);\n    });\n  })\n);\n```\n\nPrefer **Jira issue keys in test titles**. Put competitive/reference notes in internal docs only — not in this package.\n\n`withQa` / `qa.*` annotations are collected by the reporter into `assertionResults[].meta.qa` (suite, fields, steps, comments) on Path B ingest/file.\n\n## Dual path\n\nYou can still use native JSON + CLI:\n\n```bash\nnpx vitest run --reporter=json --outputFile=ai-testing-tool-results.json\nnpx @ai-testing-tool/forge-api-client --project DEMO --report ai-testing-tool-results.json\n```\n","readmeFilename":"README.md"}