Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

For all end-to-end tests, split the schema from the queries. This change
makes it easier to load the expected schema into a database for
validation and testing.

Remove a workaround from the DDL tests did this splitting manually (and incorrectly).

For all end-to-end tests, split the schema from the queries. This change
makes it easier to load the expected schema into a database for
validation and testing.
@kyleconroy kyleconroy merged commit 5664224 into main Oct 4, 2023
@kyleconroy kyleconroy deleted the kyle/split-test branch October 4, 2023 16:13
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
* test(endtoend): Split schema and queries

For all end-to-end tests, split the schema from the queries. This change
makes it easier to load the expected schema into a database for
validation and testing.

* Remove workaround from ddl_test.go

* Fix more tests
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.

2 participants