@test-station/adapter-shell 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.
- package/README.md +28 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @test-station/adapter-shell
|
|
2
|
+
|
|
3
|
+
Generic shell-command 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 shell 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-shell
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What It Does
|
|
14
|
+
|
|
15
|
+
- runs arbitrary command-backed suites
|
|
16
|
+
- synthesizes normalized results from exit status and shell output
|
|
17
|
+
- supports the `single-check-json-v1` result format for structured single-check suites
|
|
18
|
+
- writes raw shell logs under `raw/`
|
|
19
|
+
|
|
20
|
+
## Direct Use
|
|
21
|
+
|
|
22
|
+
```js
|
|
23
|
+
import { createShellAdapter } from '@test-station/adapter-shell';
|
|
24
|
+
|
|
25
|
+
const adapter = createShellAdapter();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Use adapter id `shell` in `test-station.config.mjs`.
|