Page MenuHomePhabricator

request for a development script to run only a specific test through browser
Closed, DeclinedPublic


hello. i am making tatar script converter. i have made tests now and it has become easier to work. i am saying about test in \mediawiki\tests\phpunit\languages\classes\ . i am working in windows. i open command line window in \mediawiki\tests\phpunit\ , and type "chcp 65001" and "C:\xampp\php\php-cgi.exe phpunit.php languages", and test runs, but there are some disadvantages:

  1. i count till 30 before test completes and my test is only a little dot among nearly 1000 dots here.
  2. and some letters are not shown (only squares, ie they have not fonts in lucida console font).

i would like if somebody writes a script to run my test from browser window. i think i can make such test.php, but i cannot reuse the already made class for tatar language, can only copy tests between the class and my script manually.

  1. and also i will need to make diff as it works in the test.

i think i can do that after some time of learning of the test scripts, but maybe somebody can make that easily.

Event Timeline

qdinar created this task.Oct 7 2015, 11:31 AM
qdinar raised the priority of this task from to Needs Triage.
qdinar updated the task description. (Show Details)
qdinar added a subscriber: qdinar.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 7 2015, 11:31 AM
Aklapper changed the task status from Open to Stalled.Oct 7 2015, 1:12 PM

Thanks for taking the time to report this!
I'm not sure what you are exactly requesting here or why you filed this task in Phabricator specifically - this sounds like a support request to me what is the best approach to make the code work as expected? If you're looking for general technical support on unit testing I'd recommend asking on , or if the topic is broader.

qdinar added a comment.Oct 7 2015, 1:28 PM

i get the tests folder with mediawiki. so it is part of mediawiki. and if i read "README" of it, i do not see that running it through browser is possible. probably it is not possible, and making a new script is needed. though running only 1 of the language tests maybe is already possible with usage of command line arguments (but also probably it is not possible because there is nothing in readme). i should ask about that in some mailing lists. any way README should be updated/edited with instructions, if that things are already possible.

I'd recommend to bring this up on and see which actionable items you get out of the discussion. :)

Aklapper closed this task as Declined.Oct 12 2015, 8:40 AM
Aklapper claimed this task.

Seems to be discussed in , closing this Phabricator task as it's not a request with a clearly defined technical scope.