flask-session icon indicating copy to clipboard operation
flask-session copied to clipboard

[Tests] Add tests for mysql and postgres databases

Open christopherpickering opened this issue 2 years ago • 2 comments

They act differently than sqlite and have had multiple issues reported in the past. It would be wise to add in a test run for the sqlalchemy session on mysql, postgres, oracle (if possible).

see #102 for oracle info.

christopherpickering avatar May 11 '23 16:05 christopherpickering

This can be added once #179 is merged in which puts the tests in a tests directory and has a file specifically for SQLAlchemy. We can add tests there for the different SQL backends.

darless avatar Jun 26 '23 14:06 darless

Hi @darless thanks for the pr which is merged. I have taken things a fair bit further but still keen to do this kind of broader sql testing. We have this as a little PGSQL example https://github.com/Lxstr/flask-sessions-testing. I'm thinking docker and pre-commit may be helpful. Rather than having to install so many databases.

Lxstr avatar Mar 18 '24 15:03 Lxstr