In reply to Slavi Marinov.

Well, I'm not in favor of Mr. Rons choice of words, but aside of that, his methods are solid. Provocation leads to reactions. Check.

The discussion gehts much more lively. Check
Folks are actually starting to think how to avoid this issue in future, and not embrace a copyleft mentality, thus "its your own fault"? Check.

Personally, I dont see the holy grail in Unit tests. For lots of small plugins and also their programmers, this might be a moot point, because they don't understand it. Or it's too much of an effort; not implementing the testing itself, but maybe even just the setup.

But more intensive testing, esp. with bigger, or "grown-large" pieces of software, is a requirement. Beta testers are great. Unit tests may help, too. IMHO code readability and certain coding standards do also help a lot.

And the discussion certainly highlighted the point, that one might want to waaay more carefully choose the capability one is checking for. Nobody hinders you digging around in the WP Core code. It's what I do most of the time these days, thanks to a) that idiotic move from codex to "developer handbook" (because its mostly PHPDoc with no help, examples etc. whatsoever) and b) crawling it myself gives me a much better feel, grip, knowledge of what is happening, eg. with get_template_part or locate_template, than just pointlessly testing = fishing around in the fog.

So yes, Ron is a troll. But a helpful one. Else all would just so shrug their shoulders and say non-commital comments like "well, oh my .. happens. Let's contine with business as usual".

cu, w0lf.