@test-station/adapter-vitest 0.1.0 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +28 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @test-station/adapter-vitest
2
+
3
+ Built-in Vitest adapter for Test Station.
4
+
5
+ Most consumers should install `@test-station/cli` or `@test-station/core` instead of this package directly. The default core bundle already includes the Vitest adapter. Install this package only when you are composing adapters yourself around `@test-station/core`.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm install --save-dev @test-station/adapter-vitest
11
+ ```
12
+
13
+ ## What It Does
14
+
15
+ - runs Vitest with JSON output enabled
16
+ - normalizes Vitest suite and test results into the shared report model
17
+ - collects JSON-summary coverage when coverage is enabled
18
+ - writes raw Vitest artifacts under `raw/`
19
+
20
+ ## Direct Use
21
+
22
+ ```js
23
+ import { createVitestAdapter } from '@test-station/adapter-vitest';
24
+
25
+ const adapter = createVitestAdapter();
26
+ ```
27
+
28
+ Use adapter id `vitest` in `test-station.config.mjs`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@test-station/adapter-vitest",
3
- "version": "0.1.0",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },