JaoudeStudios.com

Open Source is the road ahead!
It is currently Thu Sep 09, 2010 4:51 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Dev notes for Ubuntu JEOS - phpunit, xdebug etc
PostPosted: Wed Feb 24, 2010 8:56 pm 
Offline
Site Admin
User avatar

Joined: Wed Jul 02, 2008 7:54 pm
Posts: 596
Location: Surrey
For Ubuntu JEOS get Dev environment setup (inc. phpunit, xdebug etc)....(not tested yet)

Code:
apt-get php5 apache2 mysql-client mysql-server php5-dev php-pear php5-mcrypt php5-gd


Code:
pear  channel-discover pear.phpunit.de
pear channel-discover pear.symfony-project.com
pear install --alldeps phpunit/PHPUnit


Code:
pecl install xdebug

_________________
JaoudeStudios.com :: Eddie Jaoude :: Geek by nature, Linux by choice
Forum JaoudeStudios - php, mysql, xhtml, css, javascript, jquery, svn subversion, linux, lamp, W3C
Online Agile Task board
Open Source is the road ahead!!


Top
 Profile  
 
 Post subject: Re: Dev notes for Ubuntu JEOS - phpunit, xdebug etc
PostPosted: Mon May 17, 2010 11:43 am 
Offline
Site Admin
User avatar

Joined: Wed Jul 02, 2008 7:54 pm
Posts: 596
Location: Surrey
phpunit.xml

Basic
Code:
<phpunit bootstrap="./" colors="true">
    <testsuite name="Code Coverage from the Unit Testing Suite for Project">
        <directory>.</directory>
    </testsuite>
</phpunit>



ZF
Code:
<phpunit bootstrap="./bootstrap.php" colors="true">
    <testsuite name="Code Coverage from the Unit Testing Suite for Pat">
        <directory>.</directory>
    </testsuite>
    <filter>
        <whitelist>
            <directory suffix=".php">../application</directory>
            <exclude>
                <directory suffix=".phtml">../application</directory>
            </exclude>
        </whitelist>
   <blacklist>
           <directory suffix=".php">../library</directory>
           <directory suffix=".phtml">../library</directory>
        </blacklist>
    </filter>
    <logging>
        <log type="coverage-html" target="./log/coverage" charset="UTF-8"
             yui="true" highlight="false" lowUpperBound="35" highLowerBound="90"/>
    </logging>
</phpunit>


_________________
JaoudeStudios.com :: Eddie Jaoude :: Geek by nature, Linux by choice
Forum JaoudeStudios - php, mysql, xhtml, css, javascript, jquery, svn subversion, linux, lamp, W3C
Online Agile Task board
Open Source is the road ahead!!


Top
 Profile  
 
 Post subject: Re: Dev notes for Ubuntu JEOS - phpunit, xdebug etc
PostPosted: Mon May 17, 2010 11:47 am 
Offline
Site Admin
User avatar

Joined: Wed Jul 02, 2008 7:54 pm
Posts: 596
Location: Surrey
Ant script
Code:
<project name="Realbrowser" default="phpunit">
<target name="phpunit">
  <exec dir="${basedir}"
        executable="phpunit"
        failonerror="true">
   <arg line="--process-isolation" />
  </exec>
</target>
       

<target name="build"
         depends="phpunit"/>
</project>

_________________
JaoudeStudios.com :: Eddie Jaoude :: Geek by nature, Linux by choice
Forum JaoudeStudios - php, mysql, xhtml, css, javascript, jquery, svn subversion, linux, lamp, W3C
Online Agile Task board
Open Source is the road ahead!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group