serversideup / financial-freedom

🔥🔥🔥 An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy.
https://serversideup.net/open-source/financial-freedom/
GNU General Public License v3.0
1.84k stars 143 forks source link

Ability to quickly generate test data #126

Closed danpastori closed 4 months ago

danpastori commented 4 months ago

Issue description

When testing features, it's nice to have test data on hand. We should quickly build a way to populate the database and download a CSV of transactions to import as a test. Above and beyond the automated tests.

What is expected?

We should have a command called ff:initialize-demo which sets up Financial Freedom in a demo mode. This will be great for testing features and having realistic scenarios. We will also, when in demo, be able to download fake transactions to run through the import process multiple times and test how it works.