Skip to content

Comments

Test improvements#145

Closed
zmc wants to merge 10 commits intomainfrom
testing
Closed

Test improvements#145
zmc wants to merge 10 commits intomainfrom
testing

Conversation

@zmc
Copy link
Member

@zmc zmc commented Apr 1, 2025

No description provided.

zmc added 10 commits April 1, 2025 12:47
Signed-off-by: Zack Cerza <zack@cerza.org>
Signed-off-by: Zack Cerza <zack@cerza.org>
Signed-off-by: Zack Cerza <zack@cerza.org>
So that we can run tests without having to set up infrastructure. This commit
also adds a --db-url flag to py.test, so that the old postgres-specific behavior
is still accessible by passing:

--db-url 'postgresql+psycopg2://postgres@localhost:5432/shamantest'

Signed-off-by: Zack Cerza <zack@cerza.org>
This improves lifecycle management for the test db.

Signed-off-by: Zack Cerza <zack@cerza.org>
This looks to be necessary to support sqlite.

Signed-off-by: Zack Cerza <zack@cerza.org>
It could mask bugs, and is a little slower.

Signed-off-by: Zack Cerza <zack@cerza.org>
Signed-off-by: Zack Cerza <zack@cerza.org>
Signed-off-by: Zack Cerza <zack@cerza.org>
Signed-off-by: Zack Cerza <zack@cerza.org>
@zmc zmc closed this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant