KEYNOTE: Passbolt, how does your Cake test?
summary
Passbolt runs a CakePHP codebase migrated from 3.8 to 4.2 and serves 100,000+ users, it passes a security audit that finds two minor leaks, implements JWT auth and middleware-driven dependency injection, and refactors services into slim controllers and domain services. Test tooling includes migration-managed test databases, a trigger-based test database cleaning that records dirty tables to speed suites, and fixture factories with unique-stem handling to avoid duplicate roles; these tools are built, integrated, and working though email subject translation still needs a small fix.
AI-written summary · about
chapters (10)
- 0:00Introduction and team overview
- 5:22Passbolt architecture and plugins
- 10:04Locale translation in tests
- 15:45Email queue and translation mechanism
- 20:56JWT authentication with middlewares
- 28:19Security exceptions for JWT
- 32:19Test Suite Light introduction
- 34:30Test Suite Light mechanics
- 41:18Fixture factories and unique properties
- 48:06Conclusion and resources
