Posts

Showing posts with the label subversion

PHPUnit Taking Forever to Run

I was tasked to create some PHPUnit tests for a project at work, but I was having an issue running the tests because they were taking forever to load, even if it was just a single small little test that just asserted a true statement. So, I went googling for some kind of result and found this mail archive discussed in the ZendFramework mail archive. Basically, you just want to check your phpunit.xml file and ensure you only whitelist the files and directories you want to be tested. Don't include excludes unless they are included in your whitelist. To put example to words, let's assume you have a phpunit.xml similar to this: <phpunit bootstrap="./tests/bootstrap.php"          backupGlobals="false"          backupStaticAttributes="false"          syntaxCheck="false"          colors="false">     <testsuites>         <testsuite name="MyTest-Application">             <directory suffix=".php"...

Subversion Tutorial

I figured I'd put this tutorial together for those who are struggling to grasp the concept or commands in SVN. I have also had to reproduce this tutorial for more than one company, so I wanted to generalize it for anyone new to SVN. Installing a command-line SVN client Windows Windows users can goto SlikSVN and install the client from there. Linux Linux/Mac users should first type which svn to see if they have subversion installed. If not, Debian-based users can type: sudo apt-get install -y subversion RHEL based users can use: sudo yum install -y subversion OSX Mac OSX users can use MacPorts or Homebrew to install their cli-subversion client. brew install subversion or sudo port install subversion Configure Your Subversion Client Windows After you have run the installation package for both subversion and gnuDiff, make ...