Skip to content

Dan Bernardic

A WordPress blog of a Winnipeg Web Developer

Dan Bernardic

Dan Bernardic

A Winnipeg Web programmer. Member of the Farm At Hand team. Experienced with Web technologies, e.g. HTML5, CSS, ( Server-side ) JS, PHP, WordPress, MVC, etc.

Verified Services

View Full Profile →

Wanna get an email whenever I write a post?

Dan on Twitter

My Tweets

RSS Dan’s posts on the Glacier Ag Web blog

  • An error has occurred; the feed is probably down. Try again later.

Tag: PHPUnit

I’ve set up a version-controlled repository for the code retreat.

This time around I have branches with the boilerplate/scaffolding code for several testing frameworks including:

* DocTest for Python

* NodeUnit for JavaScript

* PHPUnit & SimpleTest for PHP

Format AsidePosted on April 5, 2014Categories UncategorizedTags code retreat, doctest, NodeUnit, PHPUnit, simpletestLeave a comment on

PHPUnit – Run all tests in current directory

I figured out this bash command at some point when I needed to run all my PHPUnit tests in a directory at once, tweeted about it, but I keep having a hard time googling for it since.

Here it is:

[bash]
for FILE in $(ls); do phpunit $FILE; done
[/bash]

Posted on August 3, 2012November 1, 2013Categories ProgrammingTags Bash, PHPUnit3 Comments on PHPUnit – Run all tests in current directory
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy