new-e2e-test

new-e2e-test is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 14 tokens per session (760 once invoked), scanned A, original, Apache-2.0.

A command for writing and validating OpenShift end-to-end tests with Ginkgo, a Go testing framework that describes behavior in nested test sections.

In plain words
What is it for?
Use it to create new tests for the OpenShift test suite, validate their stability, and handle repository-specific test rules.
Why use it?
It helps keep tests consistent with OpenShift conventions and checks reliability by running them repeatedly.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/new-e2e-test
Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for new-e2e-test

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/new-e2e-test.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/new-e2e-test)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/new-e2e-test"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/new-e2e-test.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 760 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00760
Opus 5 $0.00007 $0.00380
Sonnet 5 $0.00003 $0.00152
Haiku 4.5 $0.00001 $0.00076

Measured 2d ago against content hash a105989084b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

new-e2e-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

extensions/openshift/commands/new-e2e-test.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Name

openshift:new-e2e-test

Synopsis

/new-e2e-test [test-specification]

Description

The new-e2e-test command assists in writing and validating new tests for the OpenShift test suite. It follows best practices for Ginkgo-based testing and ensures test reliability through automated validation.

This command handles the complete lifecycle of test development:

  • Writes tests following Ginkgo patterns and OpenShift conventions
  • Validates tests for reliability through multiple test runs
  • Ensures proper test naming and structure
  • Handles both origin repository and extension tests appropriately

Test Framework Guidelines

Ginkgo Framework

  • OpenShift-tests uses Ginkgo as its testing framework
  • Tests are organized in a BDD (Behavior-Driven Development) style with Describe/Context/It blocks
  • All tests should follow Ginkgo patterns and conventions except
    • You MUST NOT use BeforeAll, AfterAll hooks
    • MUST NOT use ginkgo.Serial, instead use the [Serial] annotation in the test name if non-parallel execution is required

Repository-Specific Guidelines

Origin Repository Tests

If working in the "origin" code repository:

  • All tests should go into the test/extended directory
  • If creating a new package, import it into test/extended/include.go
  • After writing your test, MUST rebuild the openshift-tests binary using make openshift-tests
Other repositories

Other repositories have have different conventions for locations of tests and how they get imported. Examine the code base and follow the conventions defined.

Critical Test Requirements

Test Names

CRITICAL: Test names must be stable and deterministic.

❌ NEVER Include Dynamic Information:
  • Pod names (e.g., "test-pod-abc123")
  • Timestamps
  • Random UUIDs or generated identifiers
  • Node names
  • Namespace names with random suffixes
  • Limits that may change later
✅ ALWAYS Use Descriptive, Static Names:
  • Good example: "should create a pod with custom security context"
  • Bad example: "should create pod test-pod-xyz123 with custom security context"

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 105 lines · 14 tokens per session scan A a105989084b3

Subscribe to this mod's changes

new-e2e-test is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 14 tokens to every session and 760 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.