Theory & Deliverables
🎯 Deliverable
Tests passing in CI — two green check marks on every PR
Plugin Implementation Task
✨ Building since Day 1
Write first PHPUnit tests — add test job to CI
Set up tests/ directory. Create phpunit.xml.dist. Install WP_Mock. Write tests/test-data-handler.php: mock wp_cache_get returning false → assert wp_remote_get is called; mock wp_cache_get returning cached data → assert wp_remote_get is NOT called. Add phpunit job to workflow.
📄 Files:
phpunit.xml.dist + tests/test-data-handler.php + update workflow
⸻
feature/day-16-phpunit-setup
Mark done after GitHub commit & push
Daily Non-Negotiables
Git Commit
Push before day ends
Exercise
30+ min movement
Book Reading
Before sleep
AI Tool 30min
Codeium
Communication
Explain something aloud
Reflection
Written note below
45-Day Progress Map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
P1: WP Core (1-10)
P2: Git/CI (11-20)
P3: Gutenberg (21-30)
P4: VIP (31-38)
P5: Interview (39-45)
Daily Self-Rating
Book Reading Log
AI Tool — 30 Min Session
End-of-Day Reflection
What confused me today?
What would I explain differently?
One win I'm underestimating: