Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
71a609e
docs(test): define stable result artifacts
korolevpavel Jul 26, 2026
c9532f5
docs(test): plan stable result artifacts
korolevpavel Jul 26, 2026
542ea01
feat(test): add typed result artifact vocabulary
korolevpavel Jul 26, 2026
868dec5
feat(test): generate JUnit and Allure artifacts
korolevpavel Jul 26, 2026
0195255
fix(test): align native report fixtures
korolevpavel Jul 26, 2026
59e319f
feat(test): classify results from native reports
korolevpavel Jul 26, 2026
4e61565
fix(test): retain artifacts on cancellation
korolevpavel Jul 26, 2026
19b294f
feat(test): expose stable native result artifacts
korolevpavel Jul 26, 2026
4448777
fix(test): harden retained artifact handling
korolevpavel Jul 26, 2026
f537e59
fix(test): harden Windows log materialization
korolevpavel Jul 26, 2026
96584cc
feat(test): integrate stable artifacts with latest master
korolevpavel Jul 27, 2026
2528b23
fix(test): make platform log assertions portable
korolevpavel Jul 27, 2026
b5e5dff
fix(test): address artifact review findings
korolevpavel Jul 27, 2026
c951753
docs(test): define artifact review follow-ups
korolevpavel Jul 27, 2026
6a8a608
docs(test): plan artifact review follow-ups
korolevpavel Jul 27, 2026
a146e76
fix(test): bound optional artifact inventory
korolevpavel Jul 27, 2026
3617256
test(yaxunit): select reports by format
korolevpavel Jul 27, 2026
5c3fb7c
test(cli): harden artifact fixtures
korolevpavel Jul 27, 2026
3b3745a
test(yaxunit): fail closed on missing reports
korolevpavel Jul 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ reqwest = { version = "0.12", default-features = false, features = ["blocking",

[target.'cfg(windows)'.dependencies]
process-wrap = { version = "9.1.0", default-features = false, features = ["std", "job-object", "creation-flags"] }
windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Storage_FileSystem"] }

[dev-dependencies]
assert_cmd = "2"
Expand Down
3 changes: 2 additions & 1 deletion SKILL/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ v8-runner init
- Do not delete or recreate an infobase, workspace, temp directory, or generated state unless the user explicitly asks or the command itself is the documented recovery path.
- Do not invent raw `1cv8`, `ibcmd`, or `1cedtcli` flags; prefer the `v8-runner` command surface.
- Check `git status` before `dump` when the result may overwrite or mix with existing source changes.
- Preserve failed test artifacts under `workPath/temp/<runner-id>/runs/<run-id>/` for diagnosis instead of cleaning them immediately.
- Preserve successful and failed test artifacts under `workPath/temp/<runner-id>/runs/<run-id>/` for diagnosis; remove them only explicitly.
- The artifact inventory includes at most 100 regular diagnostic files shared by `error-details/` then `screenshots/`; a truncated category is represented by its directory path with the same diagnostic kind and role.
- Report missing local 1C utilities as environment/setup issues, not as project source failures.
- Keep final answers concrete: command run, result, relevant artifact path, and any follow-up command.

Expand Down
15 changes: 14 additions & 1 deletion SKILL/references/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,23 @@ v8-runner syntax edt

## Artifacts

Preserve failed test artifacts under:
Each YaXUnit or Vanessa Automation test run retains its diagnostics under:

```text
workPath/temp/<runner-id>/runs/<run-id>/
```

Supported current/latest native runners produce JUnit XML and Allure results together. In
`--json-message`, read the summary from `data.execution.metrics` and every existing typed path
from `data.execution.artifacts.items`; `data.retained_paths` is only a compatibility projection.
Missing, empty, or malformed JUnit and missing or empty Allure results are `invalid_output`
infrastructure failures. Successful and failed run directories remain until explicitly removed;
internal cleanup markers are never public artifacts. A missing file-infobase rejected by
`--no-build` preflight creates no run directory because validation precedes artifact preparation.
Optional runner diagnostics may appear under `error-details/` and `screenshots/` in the run
directory. These directories are not pre-created; existing regular files are inventoried as
`error_details` and `screenshot`, respectively. Their inventory has one shared cap of 100 regular
files, scanning `error-details/` before `screenshots/`; when a category is truncated, its directory
path is retained as the fallback artifact with that category's kind and role.

In final answers, include the command, pass/fail result, and artifact path when present.
16 changes: 16 additions & 0 deletions docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,22 @@ v8-runner test [--no-build] va --feature login --filter-tag @smoke
`test va` или MCP `run_all_tests` с `runner=vanessa`, а не дефолтный YaXUnit-runner.
- `--full` включает полный вывод успешных кейсов и расширенные stack traces.
- `tests.*.timeouts.total_ms` остаётся активным пользовательским контрактом таймаутов.
- Поддерживаемые current/latest YaXUnit и Vanessa Automation одновременно создают JUnit и
Allure results; вручную подставленный старый runner без обоих отчётов считается несовместимым.
- Каждый запуск, дошедший до подготовки runner, сохраняется в
`workPath/temp/<runner-id>/runs/<run-id>/`. Успешные и неуспешные результаты остаются там до
явного удаления пользователем. Ошибка file-infobase preflight в `--no-build` возникает раньше
и поэтому не создаёт run directory.
- В `--json-message` summary находится в `data.execution.metrics`, а все существующие пути и их
точные kinds — в `data.execution.artifacts.items`; `data.retained_paths` остаётся compatibility
projection основных путей.
- Runner может дополнительно сохранить диагностические файлы в `error-details/` и снимки экрана
в `screenshots/` внутри run directory. Эти каталоги не создаются заранее; в inventory публикуются
не более 100 обычных файлов суммарно для обеих категорий, сначала `error-details`, затем
`screenshots`. При усечении категории публикуется и путь к её каталогу с тем же kind и role,
чтобы оставшиеся файлы были доступны без раздувания inventory.
- Отсутствующий, пустой или некорректный JUnit либо отсутствующий/пустой Allure — это
инфраструктурная ошибка `invalid_output`, а не успешный или обычный test failure.

### `syntax`

Expand Down
Loading