Skip to content

Commit

Permalink
新增自动化测试
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Jan 10, 2018
1 parent a65bcb8 commit 31c955c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
13 changes: 9 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "easyswoole/easyswoole",
"type": "easyswoole-framework",
"description": "none",
"type": "framework",
"description": "An efficient swoole framework",
"keywords" : ["swoole", "framework", "async","easyswoole"],
"homepage" : "https://www.easyswoole.com/",
"license" : "Apache 2.0",
"bin": [
"bin/easyswoole"
],
Expand All @@ -18,7 +21,8 @@
},
"autoload": {
"psr-4": {
"EasySwoole\\": "src/"
"EasySwoole\\": "src/",
"EasySwoole\\Test\\":"test/"
}
},
"repositories": {
Expand All @@ -28,6 +32,7 @@
}
},
"require-dev": {
"eaglewu/swoole-ide-helper": "dev-master"
"eaglewu/swoole-ide-helper": "dev-master",
"phpunit/phpunit" : "^5.6"
}
}
20 changes: 20 additions & 0 deletions test/SplStringTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
/**
* Created by PhpStorm.
* User: yf
* Date: 2018/1/10
* Time: 下午4:25
*/

namespace EasySwoole\Test;


use PHPUnit\Framework\TestCase;

class SplStringTest extends TestCase
{
public function testPushAndPop()
{

}
}

0 comments on commit 31c955c

Please sign in to comment.