Closed pburtchaell closed 10 years ago
Do you have a link to the test run results? Worth including in the Readme?
Guess that means we should write some tests... :-) I have no idea how phpunit works, never done this before in PHP (I'm familiar with the process in Perl and Python though)
@adamgross42 The standard practice is to include a badge in the title of your readme file. Here is a badge for jQuery. You can add flags to the URL to filter run results by branch.
@justdave :+1:
Looks like for this to actually be useful at all, we need to walk travis through a full install of wordpress, since almost the entirety of the code depends on libraries included with wordpress.
Okay. Well that sounds like more trouble than it is worth. I just wanted to let you know about it.
Yeah, still not a bad idea. I'll just take a little work to set it up.
Just an FYI that I have turned on Travis CI for your repositories @justdave. Here are the docs for PHP tests.
If you aren't familiar with Travis... it basically automatically runs tests every time one makes a commit. It is configured through a YAML file at the root of each project:
travis.yml
.You don't have to use this of course, but just in case you do, it is there.