Conventions around schema used for test cases. #1193
Closed
silentninja
announced in
Maintainer discussions
Replies: 2 comments 3 replies
-
We need to organize our fixtures in general. Currently, they're a bit ad-hoc. This would make it quicker and easier to write tests (especially if the fixtures were documented somewhere). I'd rather have the documentation be at the fixture level, rather than test-by-test. (I.e., the fixture should somehow be named so that it's obvious whether custom types are involved or not.) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure what feedback this discussion is asking for. I agree we should have better fixtures and @mathemancer's suggestions make sense to me. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are multiple fixtures used in our test cases that return different types of schema, some of that schema(
db.tests.conftest.engine_with_roster
) have custom types installed while others don't(db.tests.conftest.engine_with_schema
). This has been causing some confusion when writing E2E tests, for examplemathesar_types
to full-fill some of the important db functions to work with e2e integ Testing #1168Question
Beta Was this translation helpful? Give feedback.
All reactions