Overview for 'testing'
Written by Yegor Bugayenko
/ Original link
on Aug. 4, 2022
I suggested this idea a few weeks ago on Twitter and got mostly negative reactions. That’s why I wrote this blog post, to elaborate on the subject in an attempt to convince you. Here is the rule I’m suggesting: always submit changes to the code separately from the changes to its unit tests. Simply…
Written by Yegor Bugayenko
/ Original link
on Jul. 20, 2022
A few years ago I created xcop, a simple command line tool that can check the style of an XML file. It’s similar to Checkstyle (for Java) and Pep8 (for Python), but for XML. It’s pretty easy to use xcop: just run it with a few command line arguments and it returns the list of errors found in your…
Written by Yegor Bugayenko
/ Original link
on Jul. 5, 2022
Automated tests are the ones that are usually called unit tests or integration tests, or just any tests that are being executed automatically. That’s the difference between them and manual tests. What is the purpose of automated tests? First and foremost, they reduce the amount of routine work: we…
Written by php[architect] - The site for PHP professionals
/ Original link
on Apr. 2, 2022
Scott Keck-Warren has a contribution in honor of this month’s World Backup Date, Backups For Beginners. Follow along for some inspiration in making sure you have a complete backup system. Ken Marks continues his series, How to Hack Your Home with a Raspberry Pi, with an article showing how to actua…
Written by php[architect] - The site for PHP professionals
/ Original link
on Apr. 1, 2022
If you listen to my PHPUgly podcast, you might know that we have a policy of not mixing politics with our tech talk. That is a policy we have been breaking more and more often over the past couple of years. The post Testing The Core appeared first on php[architect].
Written by php[architect] - The site for PHP professionals
/ Original link
on Sep. 12, 2021
We often consider improvements from what they’ll cost us, in time, effort, or money, in the short term and undervaluing the long-term benefits we’ll get. We cover practices that look daunting but are worthwhile in this issue, including PHP refactoring tools like Rector, Commands and Queries, PHP Un…