testing
Choose and run repository Bazel unit, runtime, transport, message, example, and integration tests, including the canonical CI baseline. Use when changing code…
от wheelos★ 55 звёзд на GitHub
Установить testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Testing
When
Read this when changing runtime, transport, message, example, or test code.
Rules / Facts
- Prefer Bazel targets instead of invoking compilers directly.
- The canonical Ubuntu 22.04 CI build and test entrypoint is
bash scripts/release/ubuntu2204_baseline.sh. It checks the release version and Bzlmod lockfile, builds//cyberand//:core_deb, and runs the layered unit and integration test matrix, including//tests/integration_test:core_tool_matrix_tests. - To match GitHub Actions when running Python tests locally, use Python 3.10
and an isolated
PYTHONUSERBASEwithprotobuf==7.36.2; pass that samePYTHONUSERBASEto Bazel via--test_env. The CI setup is defined in.github/workflows/core-ci.yml. - The reproducible entrypoints are
python3 scripts/testing/container_test.py unitandpython3 scripts/testing/container_test.py integration. They use//tests:unit,//tests:integrationand//tests:performance_regression; assign new explicit test rules intests/BUILD. - Installed-package E2E runs via
python3 scripts/testing/container_test.py package, thenpython3 scripts/testing/container_test.py e2e; its runtime container does not mount the checkout or Bazel outputs. Full release authorization comes frompython3 scripts/testing/qualify_release.py, not a diagnostic stage. bazel test //...runs every Bazel test target and is broader than the curated CI baseline; use it when a full repository-wide test run is needed.- For small changes, run targets from the nearest
BUILDfile; message changes can usebazel test //cyber/message/.... - After Fast DDS, RTPS, or examples changes, run the durable regression targets:
//tests/integration_test:examples_regression_tests,//cyber/transport/integration_test:rtps_transceiver_test, and//cyber/transport/rtps:rtps_test. - The complete native/Python runtime, transport, record/play, mainboard, and
command-line tool acceptance matrix is
//tests/integration_test:core_tool_matrix_tests. - Build
//:coreand source its generatedbin/setup.bashbefore running tools. - If an integration test has a timing-sensitive failure, rerun only the failed target once and distinguish an intermittent failure from a regression.
- Iceoryx tests use shared
/tmpand/dev/shmresource names. If local tests fail because another user owns stale IPC resources, run them in an IPC-isolated container or namespace; do not remove shared host IPC files.
GPU zero-copy
- CPU-safe ownership/session checks:
//cyber/transport/nvsci:gpu_channel_manager_test,//cyber/transport/nvsci:gpu_channel_session_test, and//tests/integration_test:gpu_channel_ipc_session_test. - On a CUDA host, use
--config=cudafor//cyber/gpu:gpu_writer_reader_test,//tests/integration_test:gpu_writer_reader_ipc_test,//examples:gpu_classifier_kernel_test, and//tests/perf_test:gpu_zero_copy_perf_test. Set--test_env=CYBER_GPU_IPC_E2E=1to enable the cross-process RTPS/CUDA IPC case; without it that test skips. These CUDA targets arerequires_cuda()-gated so default CPU builds do not require a CUDA toolkit. - GPU writer tests need a writable, user-private
XDG_RUNTIME_DIR(orHOMEfallback). For Bazel tests, create a private subdirectory underTEST_TMPDIR; the manager test does this itself. A cross-container writer reservation works only when both processes share the same lock directory. - Treat the zero-copy performance target as a short regression/stress check, not as the two-hour stability or comparative SOTA acceptance gate.
Sources
scripts/build.sh.github/copilot-instructions.mdtests/integration_test/cyber/transport/nvsci/BUILDcyber/transport/nvsci/gpu_channel_manager_test.cccyber/transport/nvsci/gpu_writer_reader_test.cc- The nearest
BUILDfile for each target
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testing?
Choose and run repository Bazel unit, runtime, transport, message, example, and integration tests, including the canonical CI baseline. Use when changing code or tests and validation is needed.
Как установить скилл testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…