feat(testfile-directives): Add per-test file directives to control runtime permissions and flags (Deno, Node, Bun, Chromium)
This commit is contained in:
10
changelog.md
10
changelog.md
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-03-06 - 3.3.0 - feat(testfile-directives)
|
||||
Add per-test file directives to control runtime permissions and flags (Deno, Node, Bun, Chromium)
|
||||
|
||||
- Introduce test file directive parser (ts/tstest.classes.testfile.directives.ts) to parse comments like // tstest:deno:allowAll and map them to runtime options.
|
||||
- Add DENO_DEFAULT_PERMISSIONS constant and centralize Deno default flags (ts/tstest.classes.runtime.deno.ts) to avoid repeating the list.
|
||||
- Integrate directives into the test runner (ts/tstest.classes.tstest.ts): read directives from test files and optional 00init.ts, merge them, and pass runtime-specific options to adapters.
|
||||
- Documentation: add a "Test File Directives" section to readme.md with examples and available directives.
|
||||
- Add automated tests for directives behavior (test/test.directives.node.ts).
|
||||
- Bump package metadata and minor dependency updates; update package description and npmextra.json to reflect new functionality.
|
||||
|
||||
## 2026-03-03 - 3.2.0 - feat(tapbundle_serverside)
|
||||
add network port discovery utilities and migrate file I/O to smartfs; refactor runtimes to use Node fs and SmartFs, update server APIs and bump dependencies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user