1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
13e3596692 Rename function for isolated database connection
Other ways to clean the database in tests will be added soon, so the
tests are being moved to a separate file.
2024-07-01 21:02:04 +03:00
912e9c9ab0 Migrate to sql.DB driver
This is to reduce dependency on a particular driver. In the future this
will be used to implement different ways of cleaning the database.
2024-07-01 21:02:04 +03:00
ca16e02007 Enable linter 'wsl'
This is a highly controversial linter, but it generally has a positive
effect on code readability.
2024-06-30 22:41:56 +03:00
ab5f864a78 Enable linter 'testpackage'
This will avoid testing private functions and methods.
2023-11-14 22:35:32 +03:00
9cb6ced6ef Add parallel running for tests 2023-07-05 07:57:37 +03:00
fd50c57aff Mark tests as integration
It is necessary so that these tests will not run when using the
`make test-short` command.
2023-07-05 07:51:30 +03:00
b346272f7f Publish an example testing go code with Postgres 2023-07-05 01:31:59 +03:00