Skip to content

Commit 06fb6b5

Browse files
committed
chore: Extend CLAUDE context, make it non-local
1 parent 51a4674 commit 06fb6b5

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

CLAUDE.local.md renamed to CLAUDE.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
- Always use guidelines from the `docs/guidelines` folder
1+
## Important
2+
3+
- Always use guidelines from the `docs/guidelines` folder when generating any code or documentation.
4+
5+
## Project Overview
6+
7+
**Testo** is an extensible PHP testing framework designed for projects requiring substantial customization of testing workflows.
8+
9+
### Philosophy
10+
- Name derived from East and South Slavic languages "testo" (dough) - symbolizing malleability and customization
11+
- Core principle: developers deserve complete authority over their testing environments
12+
- Built on minimal core with middleware system for unprecedented extensibility
13+
14+
### Target Audience
15+
Projects requiring significant testing workflow customization:
16+
- SDK development
17+
- Framework tools and libraries
18+
- Complex integrations
19+
- Scenarios where PHPUnit/standard frameworks lack flexibility
20+
21+
### Key Differentiators
22+
1. **Familiar PHP syntax** - No new DSL to learn, standard PHP code
23+
2. **Extensibility first** - Middleware architecture enables deep customization
24+
3. **Minimal core** - Lightweight foundation that remains powerful through extensions
25+
26+
### Core Features
27+
- Attribute-based test configuration (#[Test], #[RetryPolicy], #[ExpectException])
28+
- No base class requirement for test classes
29+
- Built-in dependency injection support
30+
- Memory leak detection capabilities
31+
- Retry policies for flaky tests
32+
- Flexible assertion library
33+
- Symfony Console-based CLI
34+
35+
### Technical Stack
36+
- PHP 8.1+ (leverages modern language features)
37+
- Symfony components (Console, Finder, Process)
38+
- ReactPHP for async operations
39+
- PSR standards compliance (Container, SimpleCache)
240

341
## Guidelines Index
442

@@ -47,4 +85,4 @@
4785
- Isolation: mock dependencies, use test doubles, reset state between tests
4886
- **Critical restrictions**: DO NOT mock enums or final classes - use real instances
4987
- Error testing: expectException before Act phase
50-
- Test traits for shared functionality
88+
- Test traits for shared functionality

0 commit comments

Comments
 (0)