Skip to content

Add JSON assertions #13

Description

@peter279k

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions