FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18906&edit=1

ID: 18906
Updated by: [email protected]
Reported By: sunswk at sina dot com
Summary: Skeleton Error
Status: Wont fix
Type: Bug
Package: PHPUnit
Operating System: linux
Package Version: Unknown
PHP Version: 5.2.4
Roadmap Versions:
New Comment:

Hey thanks for the report but php unit lives on github these days.
Http://phpunit.de for more info


Previous Comments:
------------------------------------------------------------------------

[2011-10-14 01:01:38] doconnor

-Status: Open
+Status: Wont fix
Hey thanks for the report but php unit lives on github these days.
Http://phpunit.de for more info

------------------------------------------------------------------------

[2011-10-13 15:08:14] onlysis

Description:
------------
When I use phpunit to generate TestCase.php like this:

phpunit --skeleton-test BD_TT ./BD.php

it occur an error of
" require_once(): Failed opening required 'BD/TT.php'"

it is caused by the statment of PHPUnit/Util/Skeleton/Test.php

line 84:if (class_exists($inClassName)) ,can be fixed by changing it to


if (class_exists($inClassName,false))

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Oct 13, 2011 at 11:00 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18906&edit=1

    ID: 18906
    Updated by: [email protected]
    Reported By: sunswk at sina dot com
    Summary: Skeleton Error
    Status: Wont fix
    Type: Bug
    Package: PHPUnit
    Operating System: linux
    Package Version: Unknown
    PHP Version: 5.2.4
    Roadmap Versions:
    New Comment:

    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-10-14 01:01:40] doconnor

    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info

    ------------------------------------------------------------------------

    [2011-10-14 01:01:38] doconnor

    -Status: Open
    +Status: Wont fix
    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info

    ------------------------------------------------------------------------

    [2011-10-13 15:08:14] onlysis

    Description:
    ------------
    When I use phpunit to generate TestCase.php like this:

    phpunit --skeleton-test BD_TT ./BD.php

    it occur an error of
    " require_once(): Failed opening required 'BD/TT.php'"

    it is caused by the statment of PHPUnit/Util/Skeleton/Test.php

    line 84:if (class_exists($inClassName)) ,can be fixed by changing it to


    if (class_exists($inClassName,false))

    ------------------------------------------------------------------------
  • Daniel Oconnor at Oct 13, 2011 at 11:00 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18906&edit=1

    ID: 18906
    Updated by: [email protected]
    Reported By: sunswk at sina dot com
    Summary: Skeleton Error
    -Status: Open
    +Status: Wont fix
    Type: Bug
    Package: PHPUnit
    Operating System: linux
    Package Version: Unknown
    PHP Version: 5.2.4
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Wont fix
    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-10-13 15:08:14] onlysis

    Description:
    ------------
    When I use phpunit to generate TestCase.php like this:

    phpunit --skeleton-test BD_TT ./BD.php

    it occur an error of
    " require_once(): Failed opening required 'BD/TT.php'"

    it is caused by the statment of PHPUnit/Util/Skeleton/Test.php

    line 84:if (class_exists($inClassName)) ,can be fixed by changing it to


    if (class_exists($inClassName,false))

    ------------------------------------------------------------------------
  • Sunswk at Oct 14, 2011 at 5:40 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18906&edit=1

    ID: 18906
    Updated by: [email protected]
    Reported By: sunswk at sina dot com
    Summary: Skeleton Error
    -Status: Wont fix
    +Status: Closed
    Type: Bug
    Package: PHPUnit
    Operating System: linux
    Package Version: Unknown
    PHP Version: 5.2.4
    -Assigned To:
    +Assigned To: onlysis
    Roadmap Versions:
    New Comment:

    -Status: Wont fix
    +Status: Closed
    -Assigned To:
    +Assigned To: onlysis
    It's my fault ,I have change the __autoload and it cause error , sorry
    for all 's help


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-10-14 01:01:45] doconnor

    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info

    ------------------------------------------------------------------------

    [2011-10-14 01:01:40] doconnor

    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info

    ------------------------------------------------------------------------

    [2011-10-14 01:01:38] doconnor

    -Status: Open
    +Status: Wont fix
    Hey thanks for the report but php unit lives on github these days.
    Http://phpunit.de for more info

    ------------------------------------------------------------------------

    [2011-10-13 15:08:14] onlysis

    Description:
    ------------
    When I use phpunit to generate TestCase.php like this:

    phpunit --skeleton-test BD_TT ./BD.php

    it occur an error of
    " require_once(): Failed opening required 'BD/TT.php'"

    it is caused by the statment of PHPUnit/Util/Skeleton/Test.php

    line 84:if (class_exists($inClassName)) ,can be fixed by changing it to


    if (class_exists($inClassName,false))

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 13, '11 at 11:00p
activeOct 14, '11 at 5:40a
posts4
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 3 posts Sunswk: 1 post

People

Translate

site design / logo © 2023 Grokbase