Skip to content

Commit 08c7388

Browse files
committed
Adding phpunit and minimum viable test classes
1 parent 7243aee commit 08c7388

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
"require": {
3232
"php": ">=5.4.0"
3333
},
34+
"require-dev": {
35+
"phpunit/phpunit": "4.8.*"
36+
},
3437
"autoload": {
3538
"psr-0": {
3639
"JasperPHP": "src/"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
class JasperPHPServiceProviderTest extends PHPUnit_Framework_TestCase
3+
{
4+
5+
/**
6+
*
7+
*/
8+
public function testRegister()
9+
{
10+
$this->assertTrue(false);
11+
}
12+
13+
}

tests/JasperPHP/JasperPHPTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
class JasperPHPTest extends PHPUnit_Framework_TestCase
3+
{
4+
5+
/**
6+
*
7+
*/
8+
public function testCompile()
9+
{
10+
$this->assertTrue(false);
11+
}
12+
13+
}

0 commit comments

Comments
 (0)