

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Тестування — buero.de78## Інструменти910- **Jest** — unit and integration tests (docs/tools.md).11- **Supertest** — e2e HTTP requests to the NestJS app (in-memory, no real network).1213## Test database1415- Use a **dedicated test database** for tests (e.g. separate `DATABASE_URL_TEST` or test schema). Do not run tests against the development database. Ensure tests are isolated (clean state or transactions per test) and do not depend on execution order.1617## Що тестувати1819- **Services:** logic without HTTP (e.g. UserService: password hashing, JWT generation; CourseService: CRUD, access check for subscription/trial). Mock PrismaService or use the test DB.20- **Controllers / e2e:** requests to endpoints (register, login, GET /api/courses, etc.); assert status codes, response body, cookies where relevant.21- **Stripe webhook:** idempotency (duplicate stripe_event_id must not change DB); signature verification (mock or test key).2223## Конвенції2425- Test files next to code: ***.spec.ts** (unit/integration) or under **test/** / **e2e/** for e2e.26- Descriptive names in English: `describe('CourseService')`, `it('returns 403 when student has no subscription')`.27- Isolate tests; do not rely on execution order.2829## Посилання3031- docs/tools.md (Jest, Supertest); docs/auth-spec.md for auth flows.32
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| annnsvm/buro-de.cursor/rules/api-patterns.mdc · 3 | Cursor rules | styleapi | 48/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/auth-and-roles.mdc · 3 | Cursor rules | security | 39/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/coding-style.mdc · 3 | Cursor rules | lint-format | 48/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/database-patterns.mdc · 3 | Cursor rules | database | 52/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/frontend-patterns.mdc · 3 | Cursor rules | securityapi | 39/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/git-workflow.mdc · 3 | Cursor rules | gitagent-behaviour | 25/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/project-structure.mdc · 3 | Cursor rules | no sections | 44/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/stripe-and-access.mdc · 3 | Cursor rules | no sections | 39/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/annnsvm-buro-de-cursor-rules-testing-api)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.