testing-without-tautologies
Skill by kenn-io
Guides an AI assistant to write, fix and review tests that fail when protected behavior breaks. It is for developers working on unit, integration, component and Playwright test suites.
Install testing-without-tautologies
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kenn-io/agentsview /tmp/agentsview && mkdir -p ~/.claude/skills && cp -r /tmp/agentsview/.agents/skills/testing-without-tautologies ~/.claude/skills/testing-without-tautologiesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install testing-without-tautologies in Claude Code
git clone --depth 1 https://github.com/kenn-io/agentsview /tmp/agentsview && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentsview/.agents/skills/testing-without-tautologies ~/.gemini/antigravity-cli/skills/testing-without-tautologiesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install testing-without-tautologies in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The testing-without-tautologies skill gives an AI assistant a checklist for creating, editing, fixing and reviewing tests. Before writing a test body, it asks who uses the code, what concrete example proves the behavior, and what production break the test would catch. It sets rules such as asserting observable effects, keeping fakes specific, not mocking the subject under test, and avoiding expected values computed with the same logic as the code.
The skill also covers SQLite and PostgreSQL parity, choosing the narrowest test level, and a mutation check to confirm that at least one test fails for each realistic production change. It names the Go, pgtest, colocated frontend and Playwright layers used in its source project. It is aimed at developers and AI assistants who write or review tests.
Written from the project's SKILL.md and checked against it.
What it can do
- Quality gateAsks who uses the code, what example proves it, and what break it would catch.
- Observable assertionsRequires checks on return values, DB rows, HTTP responses, SSE events or rendered DOM.
- Separate branch doublesGives success, error and malformed paths their own fixtures or spies.
- Mirror assertion avoidanceRejects expected values computed with the same logic as the code under test.
- Mutation checkConfirms at least one test fails for each realistic production mutation.
- Upstream behavior ruleAdvises against testing documented behavior of frameworks and libraries.
- Shell script testingRuns scripts against controlled inputs instead of reading their source.
- Negative-existence guardDiscourages tests that assert removed code stays removed.
- Backend parityKeeps SQLite and PostgreSQL tests asserting the same observable contract.
- Test level selectionPoints to the narrowest test level that can catch the break.
Try asking
- Review these Go tests for tautological assertions and suggest fixes
- Write table-driven tests with literal expected values for this parser
- Fix this failing test without changing its expectations blindly
Good to know
- Written around a project layout with Go unit tests, pgtest integration tests, colocated frontend tests and Playwright specs.
- Commands such as make test and make test-postgres belong to the source project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/testing-without-tautologies/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml263 B
Alternatives to testing-without-tautologies
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
testing-without-tautologies: common questions
Does it cover Playwright and frontend tests?
Yes. It covers colocated *.test.ts files for frontend logic and components, and Playwright specs in frontend/e2e/.
Should tests mock the code under test?
No. The skill says not to mock the subject under test and to prefer real in-process collaborators such as testDB(t) and httptest.
What is a tautological test?
A test that passes without protecting behavior, for example one that recomputes the expected value with the code's own logic or greps source text for strings.
How do I install testing-without-tautologies?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is testing-without-tautologies free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is testing-without-tautologies safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to testing-without-tautologies?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
