Skip to content

Feature Request: Support for JSON Input Files #62

@flamewalker103-commits

Description

@flamewalker103-commits

Summary

It would be beneficial to extend the current input format options for data-driven tests to include JSON files. This would allow users to utilize a commonly used data serialization format, making it easier to structure complex test cases.

Motivation

Many developers are familiar with JSON, and it offers a flexible way to represent hierarchical data. Adding support for JSON could enhance usability, especially in scenarios where test cases involve nested data structures or require more complex configurations.

Suggested Implementation

  1. Introduce a new input parser for JSON files.
  2. Ensure the new parser can handle various data structures and types found in JSON.
  3. Update the README with examples of how to use JSON for data-driven tests.

Benefits

  • Increased flexibility in defining test cases.
  • Improved readability for tests that require more complex input data.

Additional Notes

This feature could help attract users who are accustomed to working with JSON and might consider leveraging the library for their testing needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions