quality-tutorial
quality-tutorial copied to clipboard
Sample code and exercises for my quality PHP workshop
Feedback from Steve was that he left feeling that Behat didn't hold much over phpunit: so whilst I got the point across that you should be testing at the "domain"...
xdebug is required for parts of the workshop, so should be in the requirements next time.
* [x] Write some AWFUL TERRIBLE BAD code - write a test that shows it's still possible * [x] Exercises to refactor the legacy awfulness. Techniques to use: * DI...
* [x] Example exercises of Object Calisthenics * [x] Example domain implementation of the features planned in #1 * Demonstrate translation of concepts directly (e.g. method/class naming etc.) from domain...
* [x] Make it work on Travis (15m) * Run `phpunit`, ~~`behat`~~ (bit more complex, also not implementing...), `phpstan`, `phpcs` * [ ] Create sample PR for a collaborative code...
* [x] Perform an event storming session (@ocramius wants to join too) to explore the domain more * [x] Define the ubiquitous language * [x] Ensure all eventualities are thought...