Document how to run integration tests. Make the server address configurable.
Whenever possible, deserialize back the query and check that the response matches what got inserted.
Split some large tests into smaller ones.
Add an utility function to create a test table.
Note that the integration tests have been converted to a single test binary, which has the advantages of faster linking (link once instead of many times) and the ability to create utility functions useable by all tests.
The changes were tested by running all tests and clippy.
See the commit messages for more details.
Note that the integration tests have been converted to a single test binary, which has the advantages of faster linking (link once instead of many times) and the ability to create utility functions useable by all tests.
The changes were tested by running all tests and clippy.