aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* pgtest: scan topologypgtestStefan Majewsky2026-08-053-1/+193
|
* move pgruntime internal helpers to internal/gqStefan Majewsky2026-08-054-71/+79
| | | | I want to use these in package pgtest.
* pgtest: import interface spec from go-bits/easypgStefan Majewsky2026-08-053-0/+85
| | | | | This is only based on looking at the API documentation. As always, the implementation will be completely fresh.
* v1.13.3v1.13.3Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: add ConnectionTarget.ApplicationName attributeStefan Majewsky2026-08-053-12/+82
|
* v1.13.2v1.13.2Stefan Majewsky2026-08-051-1/+1
|
* gitignore: add go.work.sumStefan Majewsky2026-08-051-0/+1
|
* pgruntime: protect against concurrent migrationsStefan Majewsky2026-08-052-1/+22
|
* v1.13.1v1.13.1Stefan Majewsky2026-08-051-1/+1
|
* pgruntime: fix `psql --version` parsing on UbuntuStefan Majewsky2026-08-052-2/+11
| | | | | This currently breaks all repeated calls to WithTestDB (i.e., all users where more than two packages call WithTestDB) within GH Actions.
* v1.13.0v1.13.0Stefan Majewsky2026-08-013-3/+3
|
* pgruntime: link to pkg.go.dev for gg-pgxStefan Majewsky2026-08-011-1/+1
|
* Merge branch 'pgruntime'Stefan Majewsky2026-08-0121-1/+1232
|\
| * add testing/pgruntimeStefan Majewsky2026-08-0114-14/+238
| | | | | | | | | | | | | | | | Testing pgruntime has quickly turned out to be a nightmare, because so many parts of the test logic are not easily reproducible (e.g. `stopDBIfLingering`). I decided to not waste a bunch of time testing code that is relatively compact and easy to verify by careful examination, and that is unlikely to change a lot in the future.
| * pgruntime: allow overriding .testdb pathStefan Majewsky2026-07-312-4/+34
| |
| * pgruntime: in ConnectForTest, only truncate tables instead of recreating the ↵Stefan Majewsky2026-07-315-29/+97
| | | | | | | | | | | | | | | | database DROP + CREATE DATABASE was measured at 100 ms per ConnectForTest(), which is prohibitively slow in large test suites. This should be more in the ballpark of 10 ms per test.
| * Merge branch 'main' into pgruntimeStefan Majewsky2026-07-311-2/+8
| |\
| * | pgruntime: add t.Helper() and better error messages in ConnectForTest()Stefan Majewsky2026-07-311-2/+7
| | |
| * | pgruntime: fix parameter syntax in migration queryStefan Majewsky2026-07-311-1/+1
| | |
| * | pgruntime: add OverrideDatabaseNameStefan Majewsky2026-07-311-3/+27
| | |
| * | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-303-5/+6
| | | | | | | | | | | | Required for pgx.Conn.Close().
| * | add package pgruntimeStefan Majewsky2026-07-3014-1/+880
| | |
* | | gsql: add WithinTransactionStefan Majewsky2026-07-312-1/+32
| |/ |/|
* | v1.12.0v1.12.0Stefan Majewsky2026-07-311-1/+1
| |
* | gsql: add context.Context argument to GSQLClose()Stefan Majewsky2026-07-312-2/+3
|/ | | | Required for pgx.Conn.Close().
* add package errextStefan Majewsky2026-07-295-1/+126
|
* add package gsqlStefan Majewsky2026-07-294-0/+291
|
* v1.11.1v1.11.1Stefan Majewsky2026-06-272-0/+7
|
* v1.11.0v1.11.0Stefan Majewsky2026-06-271-1/+1
|
* add func assert.ErrsEqualStefan Majewsky2026-06-274-20/+87
|
* add package pathrouterStefan Majewsky2026-06-2718-2/+870
|
* assert: represent string literals with backticks when appropriateStefan Majewsky2026-06-223-11/+43
|
* update descriptionStefan Majewsky2026-06-211-1/+1
|
* v1.10.1v1.10.1Stefan Majewsky2026-06-201-1/+1
|
* assert: fix crash in ErrEqual on expected being a struct kind valueStefan Majewsky2026-06-203-1/+23
|
* v1.10.0v1.10.0Stefan Majewsky2026-06-201-1/+1
|
* assert: improve output of Equal() for slice types with only partial diffsStefan Majewsky2026-06-203-8/+148
|
* assert: add smart implementation for func EqualStefan Majewsky2026-06-204-5/+413
|
* jsonmatch: factor out type Path for reuse in assert.Equal() implementationStefan Majewsky2026-06-192-79/+107
|
* add package testcapture, package assert (minimal implementation)Stefan Majewsky2026-06-1917-210/+1253
|
* raise minimum Go version to 1.26Stefan Majewsky2026-06-177-14/+15
|
* v1.9.1v1.9.1Stefan Majewsky2026-06-171-1/+1
|
* columnar: fix handling of json:"-" fieldsStefan Majewsky2026-06-173-1/+27
|
* jsonmatch: cleanup doc section left over from planningStefan Majewsky2026-06-161-7/+0
|
* README: organize package list by topicStefan Majewsky2026-06-151-9/+10
|
* v1.9.0v1.9.0Stefan Majewsky2026-06-041-1/+1
|
* jsonmatch: allow embedding custom Diffable instances within Object and ArrayStefan Majewsky2026-06-044-3/+78
|
* v1.8.1v1.8.1Stefan Majewsky2026-06-021-1/+1
|
* columnar: fix docstringStefan Majewsky2026-06-022-1/+6
|
* v1.8.0v1.8.0Stefan Majewsky2026-06-021-1/+1
|