C
C#7mo ago
bingbong9744

✅ Automate test data generation

I want to emulate a database where records get added, updated etc. Thinking about using EF Core to do the migrations and inserts/updates. But how to best orchestrate it? Will mainly be called manually, but maybe ran daily too (to insert x number of rows). Easiest to build a dotnet console app, and just call it with some arguments? And if I want it to be ran daily, it can just be called from Github actions or any other pipeline runner?
3 Replies
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
bingbong9744
bingbong9744OP7mo ago
@TeBeCo sorry forgot to add context.. Working on an ETL pipeline. Source systems have no test db and we want to test on something else than the production db. Imagined to replace the db connection string based on context (dev/test vs prod) in the ingestion step. Don't thing the orchestrator support containers directly. Would then need to run it somewhere else, expose it and connect to it as if it was a SQL db(?)
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server