Skip to content

eugeneware/phpbdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPBDD

A simple BDD library for PHP

Examples

Put your tests in the 'tests' directory:

<? // in ./tests/mytest.php
describe('my first bdd test', function() {
	it('should run this code', function() {
		return true;
	});

	it('should run this code too', function() {
		return true;
	});
});

Then run your tests by running the 'phpbdd' command:

phpbdd

And then you should get a pretty formatted set of test results.

About

A Simple BDD Test Driven Development Library for PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages