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

Add JSON assertions #13

Open
1 of 3 tasks
peter279k opened this issue Mar 27, 2019 · 1 comment
Open
1 of 3 tasks

Add JSON assertions #13

peter279k opened this issue Mar 27, 2019 · 1 comment

Comments

@peter279k
Copy link
Collaborator

Introduction

This is about the JSON assertions.

After looking at the official PHPUnit doc, it doesn't provide related JSON assertions.

Perhaps we can consider implementing following JSON assertions:

  • assertIsJsonFile
  • assertIsJsonString
  • assertJsonStringContainsKey
  • assertJsonStringContainsValue
  • assertJsonFileContainsKey
  • assertJsonFileContainsValue

@adhocore , what do you think about this?

  • Bug/Issue
  • Feature request
  • General stuff
@adhocore
Copy link
Owner

adhocore commented Apr 3, 2019

sure. but some of them might be complex to implement and not frequently used

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

No branches or pull requests

2 participants