Skip to content

Commit dfdbeb5

Browse files
rekmarksclaude
andcommitted
docs: Document test:dev usage and remove default output suppression
- Remove --output-logs=errors-only from default test:dev script - Add 'Running tests' section to README documenting test commands - Document how to suppress output with --output-logs=errors-only flag Co-Authored-By: Claude <[email protected]>
1 parent 33e2ca2 commit dfdbeb5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ collection, but it does not disable lockdown in all packages. `development` mode
5555
tests don't have to pass, and are not run in CI; they are for local debugging
5656
purposes only.
5757

58+
### Running tests
59+
60+
- `yarn test` - Run all tests with coverage (uses root vitest config)
61+
- `yarn test:dev` - Run tests via Turborepo with caching (faster for repeated runs)
62+
- `yarn test:dev --filter=@ocap/kernel` - Run tests for a specific package
63+
64+
To show only errors (suppress successful test output):
65+
66+
```bash
67+
yarn test:dev --output-logs=errors-only
68+
```
69+
5870
### Adding new packages
5971

6072
See [`packages/create-package/README.md`](packages/create-package/README.md).

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"rebuild:native": "./scripts/rebuild-native.sh",
3232
"test": "yarn pretest && vitest run",
3333
"test:ci": "vitest run --coverage false",
34-
"test:dev": "turbo run test:dev --output-logs=errors-only",
34+
"test:dev": "turbo run test:dev",
3535
"test:e2e": "yarn workspaces foreach --all run test:e2e",
3636
"test:e2e:ci": "yarn workspaces foreach --all run test:e2e:ci",
3737
"test:e2e:local": "yarn workspaces foreach --all run test:e2e:local",

0 commit comments

Comments
 (0)