[issue2551366] Running tests: Need a small howto, probably in README
Ralf Schlatterbeck <[email protected]> Mon, 21 Oct 2024 14:22:35 +0000
| Newsgroups | gmane.comp.bug-tracking.roundup.devel |
|---|---|
| Message-ID | <[email protected]> |
New submission from Ralf Schlatterbeck: 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. ---------- components: Documentation messages: 8145 nosy: rouilj, schlatterbeck severity: minor status: new title: Running tests: Need a small howto, probably in README type: rfe versions: devel _________________________________________________ Roundup tracker <[email protected]> <https://issues.roundup-tracker.org/issue2551366> _________________________________________________