cockroachdb / cockroachdb/datadriven

Feature Request: Support for JSON Input Files

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
64
Forks
20
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.