0
I Use This!
Activity Not Available

Project Summary

Ditter makes writing unit tests for your PHP applications as simple as copying a single file into your project. Just copy the ditter.php file into your tests/ folder, create a test file, point your browser at ditter.php and you're rolling!

WARNINGWARNING! Ditter is brand new baby-software, just poking it's little head out of the egg. It sort of does the basics pretty well, but it has bugs. Try it at your own risk.

Two second installDownload the latest version and save it as ditter.php in into the tests/ folder of your project Create a test file (check out the sample below) Point your browser at ditter.php Enjoy the output of your tests! Screenshot

Sample Test FileTest files should start with 'test_' and the filename needs to match the class name, so 'test_whatever.php' would correspond to...

<?
class test_whatever extends TestSet {
test_true_should_be_true() {
$this->assert(true);
}
test_false_should_be_false() {
$this->assert_false(false);
}
test_41_is_41() {
$this->assert_equal(41,41);
}
test_gram_should_match_programming() {
$this->assert_match("gram", "programming");
}
test_me_should_not_match_team() {
$this->assert_should_not_match('me', 'team');
}
}
?>Why 'Ditter'?Drop-In Testing... D.I.T... Ditter. Like Twitter, except only nerds will ever use it.

Tags

framework php test testing unit

In a Nutshell, ditter...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU General Public License v3.0 or later
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Include Copyright

Include License

Distribute Original

Disclose Source

State Changes

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    there are over 3,000 projects on the Open Hub with security vulnerabilities reported against them
  • ...
    anyone with an Open Hub account can update a project's tags

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis