mirror of https://github.com/buster-so/buster.git
Update CLAUDE.md to enhance test running guidelines and introduce pre-completion workflow steps for CI/CD checks.
This commit is contained in:
parent
2833c6bb0c
commit
e6c6123754
|
@ -259,10 +259,13 @@ export async function getWorkspaceSettingsHandler(
|
||||||
### Soft Delete and Upsert Practices
|
### Soft Delete and Upsert Practices
|
||||||
- In our database, we never hard delete, we always use soft deletes with the `deleted_at` field
|
- In our database, we never hard delete, we always use soft deletes with the `deleted_at` field
|
||||||
- For update operations, we should almost always perform an upsert unless otherwise specified
|
- For update operations, we should almost always perform an upsert unless otherwise specified
|
||||||
```
|
|
||||||
|
|
||||||
**Test Running Guidelines**:
|
## Test Running Guidelines
|
||||||
- When running tests, use the following Turbo commands:
|
- When running tests, use the following Turbo commands:
|
||||||
- `turbo test:unit` for unit tests
|
- `turbo test:unit` for unit tests
|
||||||
- `turbo test:integration` for integration tests
|
- `turbo test:integration` for integration tests
|
||||||
- `turbo test` for running all tests
|
- `turbo test` for running all tests
|
||||||
|
|
||||||
|
## Pre-Completion Workflow
|
||||||
|
- Always run `turbo test:unit, lint, and build:dry-run` before making any pull request or finishing a feature, bugfix, etc. to ensure things make it through CI/CD
|
||||||
|
- You can run all these checks simultaneously with `turbo build:dry-run lint test:unit`
|
Loading…
Reference in New Issue