test:write
SkillDev toolsWrite E2E and unit tests following Rossoctl testing standards
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the test:write skill
What this skill tells your AI
The instructions your AI receives, as published by rossoctl/rossoctl in .claude/skills/test:write/SKILL.md and read by ahel’s review.
Write tests that follow Rossoctl testing standards.
When to Use
- Adding a new feature that needs tests
- Fixing a bug (write regression test first)
- Improving test coverage for existing code
Test Structure
rossoctl/tests/
├── e2e/
│ ├── common/ # Tests that run on all platforms
│ │ ├── test_agent_*.py
│ │ ├── test_mlflow_*.py
│ │ └── conftest.py
│ ├── conftest.py # Shared fixtures
│ └── test_*.py # Platform-specific tests
└── requirements.txt
Test Template
"""Test description - what scenario is being validated."""
import pytest
class TestFeatureName:
"""Tests for [feature] functionality."""
def test_specific_behavior(self, fixture):
"""Verify [specific behavior] when [condition]."""
# Arrange
expected = "specific_value"
# Act
result = do_something(fixture)
# Assert - ALWAYS assert specific values
assert result.status_code == 200, f"Expected 200, got {result.status_code}"
assert result.json()["key"] == expected
Standards
- One assertion per concept — test one thing per test method
- Descriptive names —
test_agent_returns_weather_for_valid_city - AAA pattern — Arrange, Act, Assert
- Specific assertions —
assert x == 42notassert x - Timeout handling — use
pytest.mark.timeout(300)notsleep() - Skip with reason —
@pytest.mark.skip(reason="MLflow disabled in Kind")
Fixtures (conftest.py)
Key fixtures available:
@pytest.fixture
def agent_url():
"""Agent URL from env or port-forward."""
@pytest.fixture
def kubeconfig():
"""KUBECONFIG path."""
@pytest.fixture
def rossoctl_config():
"""Platform config from ROSSOCTL_CONFIG_FILE."""
After Writing
- Run
test:reviewto verify quality - Run
test:run-kindortest:run-hypershiftto execute - Use
git:committo commit
Related Skills
test:review- Review test quality before committingtest:run-kind- Run on Kind clustertest:run-hypershift- Run on HyperShift clustertdd:ci- Full TDD workflow
Signals
- GitHub stars
- 300
- Forks
- 107
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
test-write-rossoctl- Source
- github.com/rossoctl/rossoctl