Last active
December 10, 2015 10:08
-
-
Save pavelkucera/4418539 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failure: foo hitchhiker Earth exists | |
test.php(10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$suite('foo', function() { | |
$suite('hitchhiker', function() { | |
$test('the ultimate answer to life, the universe and everything', function() { | |
$should->equal(42, 'the ultimate answer to life, the universe and everything'); | |
}); | |
$test('Earth exists', function() { | |
$should->exist(Earth); | |
}); | |
}); | |
$suite('Nette', function() { | |
$test('is awesome', function() { | |
// … | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment