Updated testing methodology to not create test scripts and just test in main code.
This commit is contained in:
@@ -11,8 +11,6 @@ ProjectName/
|
||||
├── README.md
|
||||
├── Modules/
|
||||
│ └── ProjectName.psm1 # Shared functions, config loading, helpers
|
||||
├── Tests/
|
||||
│ └── *.Tests.ps1 # Pester test files
|
||||
└── Release-Notes/
|
||||
├── v1.0.md
|
||||
└── v1.1.md
|
||||
@@ -53,15 +51,12 @@ project-name/
|
||||
├── routers/
|
||||
│ ├── auth.py
|
||||
│ └── [resource].py
|
||||
├── utils/
|
||||
└── tests/
|
||||
└── test_[resource].py
|
||||
└── utils/
|
||||
```
|
||||
|
||||
**Rules:**
|
||||
- `.env` is never committed — `.env.example` always is
|
||||
- Each resource (users, items, etc.) gets its own model, schema, and router file
|
||||
- Tests live inside `backend/app/tests/`
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user