Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unit testing for PHP Petstore client #602

Merged
merged 2 commits into from
Apr 7, 2015

Conversation

wing328
Copy link
Contributor

@wing328 wing328 commented Apr 7, 2015

Added a unit test for PHP petstore client - getPetById, using PHPUnit_Framework_TestCase
Added a readme with instruction on how to perform testing.

Here is the test result

./vendor/bin/phpunit tests
PHPUnit 4.6.2 by Sebastian Bergmann and contributors.

.

Time: 2.45 seconds, Memory: 2.75Mb

OK (1 test, 1 assertion)

This PR is a starting point for PHP client unit testing. More tests will be added with reference to how other Petstore client (e.g. ruby, java) is tested.

fehguy added a commit that referenced this pull request Apr 7, 2015
Added unit testing for PHP Petstore client
@fehguy fehguy merged commit 73665a2 into swagger-api:develop_2.0 Apr 7, 2015
@wing328 wing328 deleted the php_unit_test branch May 10, 2018 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants