Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1112679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:44:50+00:00 2026-05-17T02:44:50+00:00

General Info: PHP 5.3.3 PHPUnit 3.4 Zend Framework 1.10.8 Phing build target <target name=test>

  • 0

General Info:

PHP 5.3.3
PHPUnit 3.4
Zend Framework 1.10.8

Phing build target

 <target name="test">
  <echo msg="PHPUnit..." />
  <phpunit codecoverage="false" haltonfailure="true" haltonerror="true" printsummary="true" bootstrap="${testdir}/application/bootstrap.php">
   <batchtest>
    <fileset dir="${testdir}">
     <include name="**/*Test.php" />
     <exclude name="./application/ControllerTestCase.php" />
     <exclude name="./application/bootstrap.php" />
    </fileset>
   </batchtest>
   <formatter type="xml" todir="${builddir}" outfile="phpunit-results.xml" />
  </phpunit>
  <phpunitreport infile="${builddir}/phpunit-results.xml" 
     styledir="${phpunit.styles.dir}"
     format="frames" 
     todir="${builddir}" />
 </target>

This works…

phing -f build.xml test

Hudson/Phing

My Phing target listed in Hudson, which uses the same build.xml file, does not work. I get the same type of error (strpos(): Empty delimiter) for every unit test, which occurs whenever $this->dispatch(..url..) is executed.

Occurs within the console output upon execution of the unit test target in Hudson

'strpos(): Empty delimiter' in /opt/phing/classes/phing/tasks/ext/phpunit/PHPUnitTask.php:279

Within the PHPUnit results XML file

strpos(): Empty delimiter

/opt/zend/library/Zend/Controller/Request/Http.php:504
/opt/zend/library/Zend/Controller/Request/Http.php:551
/opt/zend/library/Zend/Controller/Request/Http.php:615
/opt/zend/library/Zend/Test/PHPUnit/ControllerTestCase.php:187
/var/lib/hudson/.hudson/jobs/IPS/workspace/trunk/tests/application/IndexControllerTest.php:6
/opt/phing/bin/phing.php:37

Can anyone shed some light on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T02:44:50+00:00Added an answer on May 17, 2026 at 2:44 am

    Technically speaking, I solved this problem, but by deciding not to run PHPUnit via a Hudson Phing target. Instead, I decided to run a shell command in Hudson, which at the moment works fine for our needs. If anyone has any other ideas, I’m all ears. Thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

General Info: ASP.NET MVC app using ADO.NET Entity Framework SQL Server 2005 I have
general question is i like to build logger class that writes to single log
I want to build a back end of a general web form which contains
I see two general ways of handling instances of classes in PHP. Take, for
I am new... to the site and to PHP in general. Please forgive my
Can anyone offer any suggestions as to why wp-admin/options-general.php won't load on my Wordpress
General Info: Aspx page holds an Ascx User control. Inside the User control, the
In general: What I want is to have PHP output an unordered list with
General wisdom is when you remove a component from the stage you also need
General context : MVVM application. I have a View called JobView. Its DataContext is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.