I am working on the tests in ../phase3/maintenance/tests. I have found 2 problems (one of which may be only locally relevant). When I follow the logic initiated in run-tests.php (which according to the target in the Makefile seems to be the initiator of the tests) there are a lot of includes, but nothing in these appears to lead to anything that might start the tests.
I am beginning to suspect that these tests never worked. However, I am open to correction. Has anyone ever run these tests successfully?
That is, the tests in ../phase3/tests.
--- On Mon, 8/3/09, dan nessett dnessett@yahoo.com wrote:
From: dan nessett dnessett@yahoo.com Subject: [Wikitech-l] Is there any evidence that the tests in phase3/maintenance/Tests ever worked? To: wikitech-l@lists.wikimedia.org Date: Monday, August 3, 2009, 11:02 AM
I am working on the tests in ../phase3/maintenance/tests. I have found 2 problems (one of which may be only locally relevant). When I follow the logic initiated in run-tests.php (which according to the target in the Makefile seems to be the initiator of the tests) there are a lot of includes, but nothing in these appears to lead to anything that might start the tests.
I am beginning to suspect that these tests never worked. However, I am open to correction. Has anyone ever run these tests successfully?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
The code that starts the tests is in PHPUnit (which is required to run these tests) and is triggered by the line "require( 'PHPUnit/TextUI/ Command.php' );" in run-tests.php.
Cheers! Alexandre Emsenhuber
Le 3 août 09 à 20:06, dan nessett a écrit :
That is, the tests in ../phase3/tests.
--- On Mon, 8/3/09, dan nessett dnessett@yahoo.com wrote:
From: dan nessett dnessett@yahoo.com Subject: [Wikitech-l] Is there any evidence that the tests in phase3/maintenance/Tests ever worked? To: wikitech-l@lists.wikimedia.org Date: Monday, August 3, 2009, 11:02 AM
I am working on the tests in ../phase3/maintenance/tests. I have found 2 problems (one of which may be only locally relevant). When I follow the logic initiated in run-tests.php (which according to the target in the Makefile seems to be the initiator of the tests) there are a lot of includes, but nothing in these appears to lead to anything that might start the tests.
I am beginning to suspect that these tests never worked. However, I am open to correction. Has anyone ever run these tests successfully?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Thanks. It turns out (something I discovered through a series of odd coincidences) that TextUI/Command.php used to execute PHPUnit_TextUI_Command::main at the bottom. This was removed some time ago so the PHPUnit_TextUI_Command class could be extended (by including the file for that purpose).
--- On Mon, 8/3/09, Alexandre Emsenhuber alex.emsenhuber@bluewin.ch wrote:
From: Alexandre Emsenhuber alex.emsenhuber@bluewin.ch Subject: Re: [Wikitech-l] Is there any evidence that the tests in phase3/maintenance/Tests ever worked? (errata) To: "Wikimedia developers" wikitech-l@lists.wikimedia.org Date: Monday, August 3, 2009, 1:42 PM The code that starts the tests is in PHPUnit (which is required to run these tests) and is triggered by the line "require( 'PHPUnit/TextUI/ Command.php' );" in run-tests.php.
Cheers! Alexandre Emsenhuber
Le 3 août 09 à 20:06, dan nessett a écrit :
That is, the tests in ../phase3/tests.
--- On Mon, 8/3/09, dan nessett dnessett@yahoo.com
wrote:
From: dan nessett dnessett@yahoo.com Subject: [Wikitech-l] Is there any evidence that
the tests in
phase3/maintenance/Tests ever worked? To: wikitech-l@lists.wikimedia.org Date: Monday, August 3, 2009, 11:02 AM
I am working on the tests in
../phase3/maintenance/tests. I
have found 2 problems (one of which may be only
locally
relevant). When I follow the logic initiated in run-tests.php (which according to the target in
the Makefile
seems to be the initiator of the tests) there are
a lot of
includes, but nothing in these appears to lead to
anything
that might start the tests.
I am beginning to suspect that these tests never
worked.
However, I am open to correction. Has anyone ever
run these
tests successfully?
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 8/3/09 11:02 AM, dan nessett wrote:
I am working on the tests in ../phase3/maintenance/tests. I have found 2 problems (one of which may be only locally relevant). When I follow the logic initiated in run-tests.php (which according to the target in the Makefile seems to be the initiator of the tests) there are a lot of includes, but nothing in these appears to lead to anything that might start the tests.
I am beginning to suspect that these tests never worked. However, I am open to correction. Has anyone ever run these tests successfully?
make test
(Note that they may not work _currently_ as there's been a lot of bitrot, and there's an external dependency on PHPUnit which may have undergone a lot of development since it was last touched.)
-- brion
"make test" just uses run-test.php as a command for the all target. However, I have them running (although some fail).
--- On Mon, 8/3/09, Brion Vibber brion@wikimedia.org wrote:
From: Brion Vibber brion@wikimedia.org Subject: Re: [Wikitech-l] Is there any evidence that the tests in phase3/maintenance/Tests ever worked? To: "Wikimedia developers" wikitech-l@lists.wikimedia.org Date: Monday, August 3, 2009, 1:13 PM On 8/3/09 11:02 AM, dan nessett wrote:
I am working on the tests in
../phase3/maintenance/tests. I have
found 2 problems (one of which may be only locally
relevant). When I
follow the logic initiated in run-tests.php (which
according to the
target in the Makefile seems to be the initiator of
the tests) there
are a lot of includes, but nothing in these appears to
lead to
anything that might start the tests.
I am beginning to suspect that these tests never
worked. However, I
am open to correction. Has anyone ever run these tests
successfully?
make test
(Note that they may not work _currently_ as there's been a lot of bitrot, and there's an external dependency on PHPUnit which may have undergone a lot of development since it was last touched.)
-- brion
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org