Theatrical-Players-Refactoring-Kata
tdd-php
Theatrical-Players-Refactoring-Kata | tdd-php | |
---|---|---|
2 | 4 | |
175 | 35 | |
- | - | |
6.3 | 1.8 | |
4 days ago | over 2 years ago | |
Pascal | PHP | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Theatrical-Players-Refactoring-Kata
-
Test-Driven Development by Example (PHP Code Samples)
I can recommend Theatrical Players Refactoring Kata - Based on the first (free) chapter of ‘Refactoring’ by Martin Fowler, the 2nd Edition has a PHP version. You can refactor the code while reading the first chapter of his book for free, which is based on JavaScript. The refactoring is mostly the same, one of the exceptions is invoice and plays appear to be global scope in the book. The workaround is the make them properties of the class in the PHP script and adjust the code.
-
Tools for better programming
Theatrical Players Refactoring Kata PHP
tdd-php
-
Introducing FEAST Framework v2.0.0! PHP 8.1 required.
There are also books on the topic that are very good reads. Test Driven Development by Example (which I made PHP samples of the code at https://github.com/toptiercode/tdd-php) as well as Clean Code and the related books by Robert C Martin who has been doing this for 50 plus years. You don't have to trust their judgement. But I do.
-
TDD
I have PHP examples of all the code in the book at https://github.com/TopTierCode/tdd-php
- Test-Driven Development by Example (PHP Code Samples)
- Best place to practice TDD and get feedback
What are some alternatives?
Tennis-Refactoring-Kata - This is a Refactoring Kata based on the rules of Tennis
framework - FEAST Framework
Racing-Car-Katas - Several code katas on a racing car theme
kiva-laravel-tdd - Real-world Project to learning about Unit Testing/TDD with Laravel for everybody
awesome-php - A curated list of amazingly awesome PHP libraries, resources and shiny things.
Parrot-Refactoring-Kata - Kata to learn about Polymorphism
SupermarketReceipt-Refactoring-Kata - This is a refactoring kata for improving your coding skills
Assert - Thin assertion library for use in libraries and business-model
assert - Assertions to validate method input/output with nice error messages.
GildedRose-Refactoring-Kata - Starting code for the GildedRose Refactoring Kata in many programming languages.
laravel-ide-helper - IDE Helper for Laravel