Roundup Tracker - Issues

Message8145

Author schlatterbeck
Recipients rouilj, schlatterbeck
Date 2024-10-21.14:22:35
Message-id <1729520555.54.0.52150611584.issue2551366@roundup.psfhosted.org>
In-reply-to
The README in the test directory doesn't contain any hints on what is needed to run the tests:
- What database users do we need
- What passwords can we use
- Can we override the default config

I think the tests should either honor settings in the environment or have a small (optional, not checked into a version control system) config file.

The test *used to* honor the settings RDBMS_USER and RDBMS_PASSWORD in the environment. They no longer seem to do this. Note that having the password in an environment variable constitutes a security risk. But it is still much better than requiring a hard-coded password in the source.

In addition in Postgres when I do have a database user 'rounduptest' most tests run for me.
But a lot of tests seem to use a username 'rounduptest_schema' with an unknown/undocumented password. I'm currently not able to make these tests run.
History
Date User Action Args
2024-10-21 14:22:35schlatterbecksetrecipients: + schlatterbeck, rouilj
2024-10-21 14:22:35schlatterbecksetmessageid: <1729520555.54.0.52150611584.issue2551366@roundup.psfhosted.org>
2024-10-21 14:22:35schlatterbecklinkissue2551366 messages
2024-10-21 14:22:35schlatterbeckcreate