-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steve Fenton <info@enhance-php.com>
- Loading branch information
Steve Fenton
committed
Oct 9, 2011
1 parent
27b1745
commit e64a5f4
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
class StringCalculator | ||
{ | ||
public function add($numbers) | ||
{ | ||
|
||
} | ||
} | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
class StringCalculatorTests extends EnhanceTestFixture | ||
{ | ||
private $target; | ||
|
||
public function setUp() | ||
{ | ||
$this->target = Enhance::getCodeCoverageWrapper('StringCalculator'); | ||
} | ||
|
||
public function startWritingTests() | ||
{ | ||
|
||
} | ||
} | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
// Include the test framework | ||
include('../EnhanceTestFramework.php'); | ||
// Find the tests - '.' is the current folder | ||
Enhance::discoverTests('.'); | ||
// Run the tests | ||
Enhance::runTests(); | ||
?> | ||
|
Binary file not shown.