Just discovered Claude Code is surprisingly effective for generating test data. Saves a ton of time mocking databases or JSON fixtures.
Example: needed a batch of realistic user objects for an API load test. Gave it a schema and got valid, varied data instantly.
```json
[
{
"id": 1001,
"email": "maria.garcia@example.net",
"username": "mgarci",
"created_at": "2023-11-14T08:23:17Z",
"is_active": true
},
{
"id": 1002,
"email": "david_wong@example.org",
"username": "dwong",
"created_at": "2024-01-05T14:45:01Z",
"is_active": false
}
]
```
Key benefits for CI/CD:
* Populate test environments before integration suites.
* Generate performance test payloads.
* Create fixture files for unit tests.
Beats writing manual loops or using external mock services. Lets you keep test data generation inside your pipeline scripts.