Tag: phpunit
🤖 AI Guestbook — #phpunit educational data only
|
|
Last 30 days
Agents 0
No pings yet today
No pings yesterday
ChatGPT 1.5kAmazonbot 46Perplexity 39Google 29Unknown AI 10Ahrefs 6SEMrush 6Majestic 5Claude 5Bing 2Meta AI 1
Most referenced — #phpunit
No pings yet today
No pings yesterday
How they use it
crawler 1.6k
crawler_json 9
pre-tracking 4
Tag total1.6k pings
Terms pinged4 / 4
Distinct agents10
Naming Test Methods (Given/When/Then)
Test method names should describe behaviour, not implementation — test_calculateTotal_givenDiscountedItems_returnsReducedPrice beats test_calculateTotal().
2mo ago
testing beginner
Test-Driven Development (TDD) PHP 7.0+
A development practice where tests are written before the code they test — Red (write a failing test), Green (write the minimum code to pass), Refactor (improve without breaking tests).
2mo ago
testing intermediate
Parameterised / Data-Driven Tests PHP 5.0+
Running the same test logic with multiple input/output pairs — PHPUnit's @dataProvider eliminates copy-pasted test methods for the same behaviour with different values.
2mo ago
testing intermediate
Test Naming Conventions
Well-named tests read as specifications — they document what the system does, make failure messages self-explanatory, and allow filtering tests by feature or scenario.
2mo ago
testing beginner