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

ID: 17080
Updated by: till@php.net
Reported By: daniel dot oconnor at gmail dot com
Summary: Avoid setting include path in unit tests
Status: Open
Type: Feature/Change Request
Package: File_IMC
Package Version: CVS
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

Why not fix the path seperator then?


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

[2010-02-09 02:09:18] doconnor

Added #patch bug:17080;patch:includepath;revision:1265681358;.

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

[2010-02-09 02:08:50] doconnor

Description:
------------
php tests\AllTests.php

doesn't work so well because of the incorrect manipulation of the
include path (path seperator is wrong for windows, ok for linux)

Consider just relying on running the tests from 1x level up; and
removing the include_path modification.

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

Search Discussions

  • Daniel Oconnor at Feb 10, 2010 at 1:46 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17080&edit=1

    ID: 17080
    Updated by: daniel.oconnor@gmail.com
    Reported By: daniel dot oconnor at gmail dot com
    Summary: Avoid setting include path in unit tests
    Status: Open
    Type: Feature/Change Request
    Package: File_IMC
    Package Version: CVS
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    If you aggregate all of the AllTests together, and one randomly changes
    the include_path on you and the rest don't ... :(


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

    [2010-02-09 11:31:44] till

    Why not fix the path seperator then?

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

    [2010-02-09 02:09:18] doconnor

    Added #patch bug:17080;patch:includepath;revision:1265681358;.

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

    [2010-02-09 02:08:50] doconnor

    Description:
    ------------
    php tests\AllTests.php

    doesn't work so well because of the incorrect manipulation of the
    include path (path seperator is wrong for windows, ok for linux)

    Consider just relying on running the tests from 1x level up; and
    removing the include_path modification.

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 9, '10 at 11:34a
activeFeb 10, '10 at 1:46a
posts2
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 1 post Till: 1 post

People

Translate

site design / logo © 2022 Grokbase