Running your unit tests on DotCloud

As part of my deployments to DotCloud I want to run my test suite. Having found my code directory (which I didn't find documented anywhere) this was straight-forward:

dotcloud run -- 'cd /home/dotcloud/code/ && prove t/*.t'

1 Comment

Btw, why 'prove t/*.t' instead of just 'prove'? From the prove's documentation: If no files or directories are supplied, "prove" looks for all files matching the pattern "t/*.t".

Leave a comment

About Peter Sergeant

user-pic I blog about Perl.