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

Pg testing strategy #80

Open
LuiggiTenorioK opened this issue May 23, 2024 · 0 comments
Open

Pg testing strategy #80

LuiggiTenorioK opened this issue May 23, 2024 · 0 comments
Assignees
Labels
working on Someone is working on it

Comments

@LuiggiTenorioK
Copy link
Member

As part of the Postgres support #74 !20 , we need to run the same tests we have in SQLite using Postgres as the database backend.

For that, I think the best strategy is:

  1. Isolate Autosubmit root dir with the testing cases in two temp directories. One with the .db files for SQLite and the other without them for Postgres.
  2. Copy the content of the .db files in the Postgres testing instance.
  3. Parametrize a fixture to use both strategies.

These changes are going to be done by just modifying the fixtures and avoiding modifying all the current tests we have.

@LuiggiTenorioK LuiggiTenorioK self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working on Someone is working on it
Projects
None yet
Development

No branches or pull requests

1 participant