test: add self-contained integration environment
Separate schema migrations from environment-specific fixtures, run the full API workflow against a disposable PostgreSQL Testcontainer, and provide seeded development and UI test environments. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
6153017b62
commit
6969f79015
18 changed files with 772 additions and 269 deletions
9
backend/internal/database/seed/common.sql
Normal file
9
backend/internal/database/seed/common.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
INSERT INTO traits (name, normalized) VALUES
|
||||
('Go', 'go'),
|
||||
('PostgreSQL', 'postgresql'),
|
||||
('Docker', 'docker'),
|
||||
('React', 'react'),
|
||||
('TypeScript', 'typescript'),
|
||||
('Kubernetes', 'kubernetes'),
|
||||
('Backend', 'backend')
|
||||
ON CONFLICT (normalized) DO NOTHING;
|
||||
Loading…
Add table
Add a link
Reference in a new issue