2017 © Pedro Peláez
 

library restful-unit

image

php-platform/restful-unit

  • Sunday, April 15, 2018
  • by Raaghu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 191 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 12 % Grown

The README.md

PHP Platform RestFul APIs Unit Testing

This package provides a utilities to unit test Restful Web Services from PHPPlatfrom/restful, (*1)

How to Use

  • Step 1

refer to resources/autoload.php from this package in the phpunit.xml, (*2)

<phpunit colors="true" bootstrap="vendor/php-platform/restful-unit/resources/autoload.php" >
</phpunit>
  • Step 2

invoke setupMethodds of PhpPlatform\Tests\RestfulUnit\ServiceTestCase from the TestCase's setup methods, (*3)


class MyRestFulTest extends TestCase { static function setUpBeforeClass(){ parent::setUpBeforeClass(); \PhpPlatform\Tests\RestfulUnit\ServiceTestCase::setUpBeforeClass(); } function setUp(){ parent::setUp(); \PhpPlatform\Tests\RestfulUnit\ServiceTestCase::setUp(); } static function tearDownAfterClass(){ parent::tearDownAfterClass(); \PhpPlatform\Tests\RestfulUnit\ServiceTestCase::tearDownAfterClass(); } function tearDown(){ parent::tearDown(); \PhpPlatform\Tests\RestfulUnit\ServiceTestCase::tearDown(); } }

The Versions

15/04 2018

v0.1.x-dev

0.1.9999999.9999999-dev https://github.com/PHPPlatform/persist-unit

  Sources   Download

Apache-2.0

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

15/04 2018

v0.1.4

0.1.4.0 https://github.com/PHPPlatform/persist-unit

  Sources   Download

Apache-2.0

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

13/04 2018

v0.1.3

0.1.3.0 https://github.com/PHPPlatform/persist-unit

  Sources   Download

Apache-2.0

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

20/03 2018

v0.1.2

0.1.2.0 https://github.com/PHPPlatform/persist-unit

  Sources   Download

Apache-2.0

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

20/03 2018

v0.1.1

0.1.1.0 https://github.com/PHPPlatform/persist-unit

  Sources   Download

Apache-2.0

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

20/03 2018

dev-master

9999999-dev https://github.com/PHPPlatform/persist-unit

  Sources   Download

The Requires

 

phpunit rest restful unit test unit-testing php-platform webservice test

20/03 2018