Create test skeleton with PHPUnit and Travis-CI
This commit is contained in:
		
							
								
								
									
										9
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.travis.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| language: php | ||||
|  | ||||
| php: | ||||
|     - 5.3 | ||||
|     - 5.4 | ||||
|  | ||||
| before_script: | ||||
|     - wget -c http://getcomposer.org/composer.phar | ||||
|     - php composer.phar install | ||||
| @@ -10,5 +10,8 @@ | ||||
|         "psr-0": { | ||||
|             "Eher\\OAuth": "src" | ||||
|         } | ||||
|     }, | ||||
|     "require-dev": { | ||||
|         "eher/phpunit": "1.6" | ||||
|     } | ||||
| } | ||||
|   | ||||
							
								
								
									
										7
									
								
								phpunit.xml.dist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								phpunit.xml.dist
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <phpunit bootstrap="vendor/autoload.php" colors="true"> | ||||
|     <testsuites> | ||||
|         <testsuite name="Test Suite"> | ||||
|             <directory>test</directory> | ||||
|         </testsuite> | ||||
|     </testsuites> | ||||
| </phpunit> | ||||
							
								
								
									
										10
									
								
								test/Eher/OAuth/RequestTest.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								test/Eher/OAuth/RequestTest.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| <?php | ||||
|  | ||||
| namespace Eher\OAuth; | ||||
|  | ||||
| class RequestTest extends \PHPUnit_Framework_TestCase | ||||
| { | ||||
|     public function testRequest() | ||||
|     { | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Eher
					Eher