tdd
Skill15k starsChanged 3 months agoApache-2.0View on GitHub
Use when implementing new features or fixing bugs to enforce test-driven development. Guides the RED-GREEN-REFACTOR cycle for Java (JUnit), Python (pytest), and TypeScript (Jest/Playwright) in OpenMetadata.
193 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- gaia-react/gaiatheir own version, first seen Oct 5, 2026
- uzairansaruzi/p3-stacktheir own version, first seen Oct 5, 2026
Who's talking about open-metadata/OpenMetadata
- MunGell/awesome-for-beginners“Add OpenMetadata”GitHub · Sep 13, 2022 · 13 reactions
- @camilleroux.com“OpenMetadata : une plateforme open source unifiée pour la data discovery, l'observabilité et la gouvernance …”Bluesky · May 2, 2026 · 5 likes
- A Hacker News story“OpenMetadata: Open Standard for Metadata”Hacker News · May 24, 2022 · 4 points
- microsoft/vscode-java-debug“Run & Debug Multi-Module Dropwizard Application in VSCode”GitHub · Feb 21, 2024 · 2 reactions
- dataform-co/dataform“Feature Request: Integration with Open Metadata”GitHub · Feb 17, 2023 · 2 reactions
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Bluesky and Hacker News (40 times).
On GitHub · 29
- Sep 13, 2022Add OpenMetadata — MunGell/awesome-for-beginners13 reactions
- Feb 21, 2024Run & Debug Multi-Module Dropwizard Application in VSCode — microsoft/vscode-java-debug2 reactions · 2 comments
- Feb 17, 2023Feature Request: Integration with Open Metadata — dataform-co/dataform2 reactions · 1 comment
- Oct 6, 2026agent-skills.github.open-metadata.openmetadata: 2.0.3-release → 2.0.4-release — sudosubin/agents.nix0 reactions
- Oct 5, 2026chore(deps): bump openmetadata-ingestion from 1.13.3.2 to 2.0.3.0 — GovHub-br/data-application-minc0 reactions
24 more on GitHub
- Oct 3, 2026agent-skills.github.open-metadata.openmetadata: 2.0.2-release → 2.0.3-release — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.open-metadata.openmetadata: init at 2.0.2-release — sudosubin/agents.nix0 reactions
- Sep 15, 2026Docs: Add release notes for 1.13.6 — open-metadata/docs-om0 reactions · 2 comments
- Sep 11, 2026support OpenMetadata — risingwavelabs/risingwave0 reactions
- Sep 3, 2026Docs: Add release notes for 1.13.5 release — open-metadata/docs-om0 reactions
- Aug 24, 2026Sync OpenMetadata Standards with 2.0.0 — open-metadata/OpenMetadataStandards0 reactions
- Aug 24, 2026openmetadata-dependencies: remove obsolete Airflow FAB downgrade — open-metadata/openmetadata-helm-charts0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /custom-connector in the custom-connector-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /api-lineage-cicd in the api-lineage-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /dynamic_csv_importer in the dynamic-csv-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in the sdk-facade-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /custom-graphql in the custom-graphql-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /ingestion-automation in the ingestion-automation-python group — open-metadata/openmetadata-demo0 reactions
- Jun 25, 2026[GHSA-5f29-2333-h9c7] OpenMetadata's Server-Side Template Injection (SSTI) in FreeMarker email templates leads to RCE — github/advisory-database0 reactions · 3 comments
- Apr 25, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 24, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 23, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 22, 2026[P2-16] Upstream Hackathon GFI — nishanthatgit/openmetadata-pulse0 reactions
- Dec 22, 2025Redshift Serverless: Support of SYS views to fetch queries — open-metadata/docs-v1-legacy0 reactions · 1 comment
- Jan 8, 2025[Recommendation Needed] Production ready Open lineage application — OpenLineage/OpenLineage0 reactions · 5 comments
- Apr 24, 2024OpenMetadata 身份验证绕过漏洞(CVE-2024-28255) — foyaga/blog-timeline0 reactions
- Feb 6, 2023Make suggest edits button work — open-metadata/docs0 reactions · 1 comment
- Jun 13, 2022Add OpenMetadata — mgramin/awesome-db-tools0 reactions
- Mar 30, 2022Refactor & Clean up unnecessary methods — open-metadata/openmetadata-airflow-apis0 reactions
On Bluesky · 10
- May 2, 2026OpenMetadata : une plateforme open source unifiée pour la data discovery, l'observabilité et la gouvernance des données — avec du lineage… — @camilleroux.com5 likes and reposts · 1 reply
- Apr 24, 2026今日のGitHubトレンド open-metadata/OpenMetadata OpenMetadataは、データの発見、観測、ガバナンスを統合的に管理するメタデータプラットフォームです。… — @dailygithubtrends.bsky.social1 likes and repost
- Apr 23, 2026OpenMetadata : découverte, observabilité et gouvernance des données unifiées — @news.humancoders.com1 likes and repost
- Apr 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 open-metadata / OpenMetadata ⭐ 11,886 (+609) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 open-metadata / OpenMetadata ⭐ 10,245 (+162) 🗒 TypeScript OpenMetadata is a unified metadata platform… — @github-trending-js.bsky.social1 likes and repost
5 more on Bluesky
- Feb 27, 2026https://github.com/open-metadata/OpenMetadata — @tom-doerr.bsky.social1 likes and repost
- Dec 30, 2024After reading a lot about Data Mesh in the past years, I’ve decided to put it in practice and test different tools during the holidays… — @fabridinapoli.com1 likes and repost
- Nov 22, 2023📦 open-metadata / OpenMetadata ⭐ 3,144 (+91) 🗒 TypeScript Open Standard for Metadata. A Single place to Discover, Collaborate and Get… — @github-trending-js.bsky.social1 likes and repost
- Apr 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 open-metadata / OpenMetadata ⭐ 11,887 (+609) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Apr 3, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 open-metadata / OpenMetadata ⭐ 9,542 (+299) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- May 24, 2022OpenMetadata: Open Standard for Metadata4 points
Used with
Projects with it also use make-bot-ui, Poteto Mode and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 8 projects that use this
jtarorehSkillPoteto Mode
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
Also in 5 projects that use this
risadamsSkillwhich-skill
Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.
Also in 7 projects that use this
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 11 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 11 projects that use this
shreyT19Skillprinciple-laziness-protocol
Apply when refactoring, evaluating diff size, or tempted to add abstractions, layers, or signal threading. Bias toward deletion and the smallest change that solves the problem.
Also in 22 projects that use this
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 335ksame name
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- crbnos/carbon★ 2.7ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- backnotprop/pstack★ 991same name
- kdlbs/kandev★ 899same name
- codewithmukesh/dotnet-claude-kit★ 750same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/vendor/composition-patterns/AGENTS.mdAGENTS.md
- skills/vendor/react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openmetadata-ui-core-components/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- connector-auditSkill
- scaffold-connectorSkill
- connector-reviewSkill
- connector-standardsSkill
- dev-setupSkill
- java-checkstyleSkill
- openmetadata-pr-reviewSkill
- openmetadata-workflowSkill
- planningSkill
- playwright-testSkill
- playwright-validationSkill
- pr-checklistSkill
- systematic-debuggingSkill
- test-enforcementSkill
- test-locallySkill
- ui-checkstyleSkill
- ui-core-componentsSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
- verificationSkill
- writing-playwright-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 177 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Write the smallest test that describes the desired behavior.
- Distinctive: line 45
Test one behavior per test
- Distinctive: line 46
Use descriptive test names that explain what should happen
- Distinctive: line 52
Write only the code needed to make the test pass.
- Distinctive: line 54
Don't add error handling for cases you haven't tested
- Distinctive: line 55
Don't generalize — hardcode if that's what the test requires
- Distinctive: line 56
Don't clean up or refactor yet
- Distinctive: line 67
Run the full test suite for the module to check for regressions
- Distinctive: line 101
Writing code before the test: If you catch yourself doing this, stop.
- Very specific: line 103
Testing implementation details: Don't assert on internal method calls with verify().
- Very specific: line 109
Java integration tests: use BaseEntityIT with TestNamespace for isolation and OpenMetadataClient for API calls.
- Distinctive: line 111
Python connector tests: should test real behavior:
- Distinctive: line 128
Frontend tests: should render components and assert on visible output:
“Common” is measured: kept by at least 6 in 10 of the 177 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test-Driven Development for OpenMetadata
Enforce RED-GREEN-REFACTOR discipline across all three language stacks.
When to Use
- Implementing any new feature or behavior
- Fixing bugs (write a test that reproduces the bug first)
- Adding new API endpoints, connectors, or UI components
The Cycle
1. RED - Write a Failing Test
Write the smallest test that describes the desired behavior. Run it. It must fail. If it passes, your test isn't testing the new behavior.
Java (JUnit 5):
# Write test in openmetadata-service/src/test/ or openmetadata-integration-tests/
mvn test -pl openmetadata-service -Dtest=YourTestClass#yourTestMethodPython (pytest):
source env/bin/activate
cd ingestion
# Write test using pytest style — plain assert, no unittest.TestCase
python -m pytest tests/unit/your_test.py::test_your_function -vTypeScript (Jest):
cd openmetadata-ui/src/main/resources/ui
yarn test path/to/YourComponent.test.tsRules for RED:
- Test one behavior per test
- Use descriptive test names that explain what should happen
- Assert on observable outcomes (API responses, database state, rendered output), not internal method calls
- For Python: use
assert x == y, notself.assertEqual(x, y)
2. GREEN - Write the Minimum Code to Pass
Write only the code needed to make the test pass. No more.
- Don't add error handling for cases you haven't tested
- Don't generalize — hardcode if that's what the test requires
- Don't clean up or refactor yet
Run the test again. It must pass.
3. REFACTOR - Clean Up While Green
Now improve the code while keeping tests green:
- Remove duplication
- Improve naming
- Extract methods if needed (but don't over-abstract)
- Run the full test suite for the module to check for regressions
# Java — format then test
mvn spotless:apply
mvn test -pl openmetadata-service
# Python — format, lint, then test
cd ingestion && make py_format && make py_format_check
python -m pytest tests/unit/your_test.py -v
# TypeScript — lint then test
cd openmetadata-ui/src/main/resources/ui
yarn lint:fix
yarn test path/to/YourComponent.test.ts4. Repeat
Go back to RED with the next behavior. Each cycle should take minutes, not hours.
What to Test Where
| Layer | Test Type | Location | Runner |
| Java REST API | Integration | openmetadata-integration-tests/ | mvn verify |
| Java service logic | Unit | openmetadata-service/src/test/ | mvn test |
| Python connectors | Unit | ingestion/tests/unit/ | pytest |
| Python integration | Integration | ingestion/tests/integration/ | pytest |
| React components | Unit | Co-located .test.ts files | yarn test |
| UI E2E flows | E2E | playwright/e2e/ | yarn playwright:run |
Anti-Patterns to Avoid
- Writing code before the test. If you catch yourself doing this, stop. Write the test first.
- Mocking everything. Mock external boundaries (HTTP clients, third-party APIs), not your own classes. If you need 3+ mocks, write an integration test instead.
- Testing implementation details. Don't assert on internal method calls with
verify(). Assert on outcomes. - Giant test methods. Each test should verify one behavior. Split multi-assertion tests into separate test cases.
- Skipping REFACTOR. The refactor step is where code quality happens. Don't skip it.
OpenMetadata-Specific Patterns
Java integration tests use BaseEntityIT with TestNamespace for isolation and OpenMetadataClient for API calls. Prefer this over heavily mocked unit tests for API testing.
Python connector tests should test real behavior:
# Good: test the actual parsing logic
def test_parse_table_metadata():
raw = {"name": "users", "columns": [...]}
result = parse_table(raw)
assert result.name == "users"
assert len(result.columns) == 3
# Bad: mock everything and verify calls
def test_parse_table_metadata():
mock_client = MagicMock()
mock_client.get.return_value = {...}
# ... 20 lines of mock setup
verify(mock_client.get).called_once() # proves nothingFrontend tests should render components and assert on visible output:
// Good: test what the user sees
render(<MyComponent data={testData} />);
expect(screen.getByText('Expected Label')).toBeInTheDocument();
// Bad: test implementation details
expect(component.state.internalFlag).toBe(true);Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

