fulcrologic / fulcro-rad-sql

SQL Plugin for Fulcro RAD
MIT License
4 stars 12 forks source link

Integration tests against MySQL and PostgreSQL #8

Closed awkay closed 3 years ago

awkay commented 4 years ago

It would be nice to have some integration tests that do NOT run automatically (tagged on specification with :integration, and skipped via metadata setting in tests.edn). That way we could at least manually run them to check compatibility with diff dbs.

I mean, since it is just a HikariCP list of settings, this could be a single set of tests with just diff CP settings that can be applied via a JVM option like -Dconfig=config/config-test-mysql.edn where those EDN files live (with a default) on the test classpath only.

The one caveat is that test setup/seeding might vary a bit (i.e. drop current test schema, run auto-schema generation, seed)...but most should be very very similar if not identical.