imbo / behat-api-extension

API extension for Behat, used to ease testing of JSON-based APIs
MIT License
109 stars 42 forks source link

new Feature: Verify data type from response values #42

Closed oqq closed 7 years ago

oqq commented 7 years ago

This PR provides a function to verify data types in response how suggested in https://github.com/imbo/behat-api-extension/issues/41 and will close that feature request.

TODO

oqq commented 7 years ago

@christeredvartsen currently some behat tests would fail, so I am not really able to implement e2e tests for the new feature. I will add them later, after all tests were be fixed.

christeredvartsen commented 7 years ago

I manually merged this pull request, so the GitHub UI is somewhat confused. Closing the PR. Your commits can be seen here: https://github.com/imbo/behat-api-extension/commits/2.0. Thanks a bunch for the contribution.

I will in the 2.0 branch now start some recactoring of the comparator class, but I will make sure the @type feature remains. :) Thanks again.