kostajh added a comment.
In T361190#9803962 <https://phabricator.wikimedia.org/T361190#9803962>, @ArthurTaylor wrote: > In this approach I'm not using filter. I'm using phpunit's `--list-tests-xml`to get a list of tests that would be run using the suite, then scanning the filesystem to find the test files associated with those test classes, then creating suites in `phpunit.xml` that contain those files. Basically expanding out the suite definitions that we have in `phpunit.xml.dist`. > > I've been using the `.phpunit.result.cache` file to see if tests are being missed - I run the suite linearly, run the suite in parallel, and compare the list of tests in the two cache files. So far I haven't spotted any difference, but that's for sure something to keep an eye on. > > Thanks for the tip about the other tickets - I'll have a look there and follow up with @pmiazga. Got it, thanks for the clarification. @ArthurTaylor Based on the approach you describe, do you think it would be feasible to encapsulate that logic into a PHP script? That could potentially go into MediaWiki core (e.g. `composer phpunit:parallel`), and then it would be much easier for MediaWiki developers to make use of the parallel execution functionality in their local work. An advantage there is that it's easier for people to debug the parallel execution code in case of issues, whereas, most MediaWiki engineers are unfamiliar with Quibble and don't run it locally. That said, the primary use case for parallel execution is CI, so I'm not opposed to making a Quibble-only implementation--just seems like, if a PHP script in MediaWiki core could do the job, then it would be nice to be able to support the use case of local development environments in addition to CI. TASK DETAIL https://phabricator.wikimedia.org/T361190 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: ArthurTaylor, kostajh Cc: kostajh, pmiazga, WMDE-leszek, Lucas_Werkmeister_WMDE, Aklapper, ArthurTaylor, Danny_Benjafield_WMDE, Isabelladantes1983, Themindcoder, Adamm71, S8321414, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, Dringsim, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, KimKelting, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org