GitHub Copilot Pro Tips: Generate Dummy Data
Murat Girgin
Cloud Solutions Architect ??? #Cloud #Data #AI ?? Transforming products and teams
GitHub Copilot Pro Tips: Generate Dummy Data Effortlessly
In software development, generating dummy data for testing, prototyping, or database seeding can be tedious. But with GitHub Copilot Chat, you can automate this process in seconds.
Quick Workflow:
? Define Your Data: Describe the dataset you need (e.g., employees with IDs, names, emails).
? Specify the Format: JSON, CSV, SQL, or any structure that fits your project.
? Review & Customize: Ensure uniqueness, localization, and edge case coverage.
Example: Need 20 employees in JSON? Just ask:
[
{
"id": 1,
"firstName": "John",
"lastName": "Doe"
},
{
"id": 2,
"firstName": "Jane",
"lastName": "Smith"
},
{
"id": 3,
"firstName": "Alice",
"lastName": "Brown"
},
...
{
"id": 20,
"firstName": "Emma",
"lastName": "Wilson"
}
]
You can even generate SQL inserts, CSV files, and bulk datasets with a simple prompt tweak.
Want more practical tips? Read the full article for free on Medium: