Skip to content

Dan Bernardic

A WordPress blog of a Winnipeg Web Developer

Dan Bernardic

Dan Bernardic

A Winnipeg Web programmer. Proud member of the Skip the Dishes 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

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
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
  • Follow Following
    • Dan Bernardic
    • Join 33 other followers
    • Already have a WordPress.com account? Log in now.
    • Dan Bernardic
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar