Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore integration test with importer tmpdirs and real db #280

Open
Tracked by #247
cloverich opened this issue Dec 8, 2024 · 0 comments
Open
Tracked by #247

Explore integration test with importer tmpdirs and real db #280

cloverich opened this issue Dec 8, 2024 · 0 comments

Comments

@cloverich
Copy link
Owner

Really don't want to spend time on this right now, but there's a bunch of new logic added via markdown files and importer logic (#247 ) that I'm likely to forget and break after. Explore doing a basic set of tests even if run manually that:

  • Take some markdown files from a set of directories
  • Generate a tmpdir and temporary db for testing
  • Run imports and then assert against them

Should limit test logic to preload client level, and ideally can init a separate instance driven by parameters so it can be simply run along-side app without having to change things there and back (or env variables, whatever).

@cloverich cloverich mentioned this issue Dec 8, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant