PHPUnit 3.5 + VisualPHPUnit #3

merged 6 commits into from Oct 11, 2011


None yet
2 participants

thedae commented Oct 10, 2011

Para configurarlo hay que crear un nuevo Virtual Host, adjunto plantilla:

sdbox:/etc/apache2/sites-available# cat sifotest
<VirtualHost *:80>
        ServerName sifotest.vm
        ServerAlias *.sifotest.vm
        DocumentRoot "/mnt/htdocs/SIFO/libs/PHPUnit-3.5.0/VisualPHPUnit"

Ojo, no lo he probado en PHP 5.2, así que asumid que solo funciona en 5.3. Lo del code coverage es opcional, solo funcionará si teneis xdebug instalado.

Como ejemplo echadle un ojo al BenchmarkTest.php

@alombarte alombarte added a commit that referenced this pull request Oct 11, 2011

@alombarte alombarte Merge pull request #3 from thedae/master
PHPUnit 3.5 + VisualPHPUnit

@alombarte alombarte merged commit 58f0402 into sifophp:master Oct 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment