Garment.id
🇺🇸 English
  • 🇮🇩 Indonesian
  • 🇺🇸 English
Home
Core APITenant APISupport CenterChangelog
Home
Core APITenant APISupport CenterChangelog
Github
Instagram
|
🇺🇸 English
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇺🇸 English
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Home
  • Introduction
  • 01 - Project Structure
  • 02 - Context Boundaries
  • 03 - Central Auth Runtime
  • 04 - Central Billing
  • 05 - Tenant Runtime
  • 06 - FE Integration Contracts
  • 07 - Security, Middleware, and RLS
  • 08 - Events, Jobs, Listeners, Notifications, Observers
  • 09 - Testing and Quality Gates
  • 10 - Operations Runbook
  • 11 - Architecture Decisions (ADR Ringkas)
  • 12 - API Endpoint Catalog (v1)
  • 13 - Class Catalog by Context
  • 14 - Feature Development Playbook
  • 15 - Migration and Model Conventions
  • 16 - Service, Support, and Trait Contracts
  • 17 - Auth Business Scenarios and Decision Tree
  • 18 - Config Reference and Impact
  • 19 - Migration and Model Cookbook
  • 20 - Billing and Provisioning Business Flows
  • 21 - FE Error Handling Matrix
  • 22 - Incident Playbooks
  • 23 - Data Ownership Matrix
  • 24 - Documentation Governance and Changelog
  • 25 - Tenant Authorization Backend Guide
Home
Core APITenant APISupport CenterChangelog
Home
Core APITenant APISupport CenterChangelog
Github
Instagram
|
🇺🇸 English
  • 🇮🇩 Indonesian
  • 🇺🇸 English
🇺🇸 English
  • 🇮🇩 Indonesian
  • 🇺🇸 English
  1. Home

09 - Testing and Quality Gates

Dokumen ini menetapkan quality gate minimal sebelum merge.

Test Grouping#

Central: tests/Feature/Central/*
Tenant: tests/Feature/Tenant/*
Shared: tests/Feature/Shared/*
Unit: tests/Unit/*

Minimum Commands#

Jalankan via Sail sesuai standar proyek.

Full API feature#

Central auth focused#

Central billing focused#

Tenant runtime focused#

Route sanity#

Migration + Seed Gate#

Untuk environment bersih:
Perintah ini menjalankan urutan central -> cluster tenant -> seed.
Referensi implementasi: app/Console/Commands/GarmentMigrationCommand.php.

PR Checklist#

endpoint baru masuk route file context yang tepat
request/resource context sesuai folder
test path sesuai context
dokumentasi dokumen context terkait sudah diupdate
Diubah pada 2026-03-03 22:25:30
Sebelumnya
08 - Events, Jobs, Listeners, Notifications, Observers
Berikutnya
10 - Operations Runbook
Built with