Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / DATA-DOG/go-sqlmock issues and pull requests

#343 - Sql mismatch

Issue - State: open - Opened by ivorytower1026 about 2 months ago - 2 comments

#342 - Wrong condition to check Begin options

Issue - State: open - Opened by kpeu3i about 2 months ago - 1 comment

#341 - write unit test with this

Issue - State: closed - Opened by minhthinh27 2 months ago

#340 - Add WithTXOption expectation to ExpectBegin

Pull Request - State: closed - Opened by ninadingole 3 months ago - 1 comment

#339 - Add FromCsvReader method to allow building rows with customized csv reader.

Issue - State: open - Opened by stayingalivee 4 months ago - 1 comment
Labels: good-first-issue

#338 - How to mock multiple query cases

Issue - State: closed - Opened by huanggze 6 months ago - 1 comment

#337 - sqlmock panics when closing empty Rows object

Issue - State: open - Opened by raxod502-plaid 6 months ago - 2 comments
Labels: bug

#336 - Mock columnsWithAlias

Issue - State: closed - Opened by raxod502-plaid 6 months ago - 1 comment

#335 - fix issue 209: add output parameters support

Pull Request - State: open - Opened by riccardos77 7 months ago - 1 comment

#334 - When expectedSQL is empty it is matching with any query

Issue - State: closed - Opened by sfc-gh-tvidyasankar 7 months ago - 1 comment

#333 - fix bug/334 when checking empty expectedQuery with actual query

Pull Request - State: closed - Opened by sfc-gh-tvidyasankar 7 months ago - 2 comments

#332 - WIP: Adjusted outputs to increase readability

Pull Request - State: open - Opened by filikos 11 months ago

#331 - Argument matching for queries using unpacked slices

Issue - State: closed - Opened by gkoscky 11 months ago - 1 comment

#330 - Breaking change in v1.5.1

Issue - State: closed - Opened by Gilthoniel 11 months ago - 5 comments

#329 - fix: make no argument passed validation opt-in

Pull Request - State: closed - Opened by IvoGoman 11 months ago - 1 comment

#328 - How to mock an update with returning

Issue - State: closed - Opened by agustin-del-pino 11 months ago - 2 comments

#327 - test a call to a procedure

Issue - State: closed - Opened by kowiste 12 months ago - 1 comment

#326 - Modify: existing panic in AddRow to give a hint to the issue

Pull Request - State: closed - Opened by co60ca about 1 year ago

#325 - Improve panic output with rows.AddRow

Issue - State: closed - Opened by co60ca about 1 year ago - 2 comments

#323 - Even though I type mock.ExpectBegin(), I get db transaction begin error

Issue - State: closed - Opened by ricirt about 1 year ago - 2 comments

#322 - How can I make sqlmock not care about the order of arguments?

Issue - State: closed - Opened by felipe-cg about 1 year ago - 1 comment

#321 - fix bug/285 parallel

Pull Request - State: open - Opened by rsanjayam1 about 1 year ago - 1 comment

#320 - Fix Bug/285 parallel

Pull Request - State: closed - Opened by rsanjayam1 about 1 year ago
Labels: needs-info

#319 - Unable to Mock Rows with `[]string` Type Using Custom ValueConverter

Issue - State: closed - Opened by ns-tdemelocosta about 1 year ago - 2 comments

#318 - CSVColParser: correctly set nil values in Rows

Pull Request - State: closed - Opened by IvoGoman about 1 year ago - 2 comments

#317 - Issue with JSON Byte matching

Issue - State: closed - Opened by nishgop over 1 year ago - 1 comment

#316 - feature: Add WithTxOptions() to ExpectBegin

Issue - State: closed - Opened by smoynes over 1 year ago
Labels: enhancement

#315 - fixes csv parse errors being silently ignored

Pull Request - State: closed - Opened by IvoGoman over 1 year ago - 2 comments

#314 - WIP: Fix WillReturnRows(nil) in expectations_go18.go

Pull Request - State: closed - Opened by chrisirhc over 1 year ago - 2 comments

#313 - feat: port v2 branch optimize to main branch

Pull Request - State: closed - Opened by fatelei over 1 year ago

#312 - using lowercase for installation

Issue - State: closed - Opened by fcmdias over 1 year ago

#311 - Dev

Pull Request - State: closed - Opened by dantedenis over 1 year ago

#310 - expectedSelectCtx etc

Pull Request - State: closed - Opened by dantedenis over 1 year ago

#308 - please provide GORM example

Issue - State: closed - Opened by MushiTheMoshi almost 2 years ago - 1 comment

#307 - Added SqlMock type to allow for options to be sent to function that creates the sqlmock

Pull Request - State: closed - Opened by Woody1193 almost 2 years ago - 1 comment

#306 - gordor.options PrefetchCount\FetchArraySize

Issue - State: closed - Opened by VadimGossip almost 2 years ago - 1 comment

#305 - Fix test

Pull Request - State: closed - Opened by kooksee almost 2 years ago

#304 - Refactor

Pull Request - State: closed - Opened by kooksee almost 2 years ago

#303 - Getting 'Query: could not match actual sql' on identical queries

Issue - State: closed - Opened by z4id almost 2 years ago - 2 comments

#302 - how to mock mock preload

Issue - State: closed - Opened by ShuaiGao almost 2 years ago - 1 comment
Labels: wontfix

#301 - How to print go-sqlmock expected query?

Issue - State: closed - Opened by tonytony2020 about 2 years ago

#300 - Add WillCompleteOnCancel expectation

Pull Request - State: closed - Opened by cleroux about 2 years ago - 1 comment

#299 - [Feature] Add a way to test cancellation where the query still completes

Issue - State: closed - Opened by cleroux about 2 years ago - 1 comment

#298 - CSVColumnParser returns []byte instead of driver.Value

Issue - State: closed - Opened by vasyvasilie about 2 years ago - 1 comment

#295 - Fix args passed not exp

Pull Request - State: closed - Opened by IvoGoman over 2 years ago - 4 comments

#294 - License isn't being identified by GitHub

Issue - State: open - Opened by justman00 over 2 years ago - 1 comment

#293 - Issues with prepare statement

Issue - State: closed - Opened by rluders over 2 years ago - 1 comment

#292 - Unexpected result of argument matcher if no args expected but args supplied

Issue - State: closed - Opened by IvoGoman over 2 years ago - 3 comments

#290 - [Feature]: Update Travis to v1.18

Issue - State: open - Opened by Ghvstcode over 2 years ago - 2 comments

#289 - [Chore]: Add Issue Template

Pull Request - State: closed - Opened by Ghvstcode over 2 years ago

#288 - Fix parallel insert issue

Pull Request - State: open - Opened by JessieAMorris over 2 years ago

#287 - Query with WHERE IN shows an error (using sqlx)

Issue - State: closed - Opened by devFallingstar over 2 years ago - 1 comment
Labels: question

#286 - Remove uppercase from the go.mod

Issue - State: closed - Opened by psankar over 2 years ago - 1 comment

#285 - Using with goroutines

Issue - State: open - Opened by ceyhunkerti over 2 years ago - 5 comments
Labels: bug

#284 - fix package

Pull Request - State: closed - Opened by col3name over 2 years ago - 1 comment

#283 - sqlmock does not produce an error on unexpected query

Issue - State: closed - Opened by SamiAlsubhi almost 3 years ago - 1 comment

#282 - gorm (v1.22.4) problem

Issue - State: closed - Opened by ehduardu almost 3 years ago - 5 comments
Labels: bug, needs-investigation

#281 - Is json tag is not used in this tool

Issue - State: closed - Opened by sevenguin almost 3 years ago - 2 comments

#280 - feature: create rows columns and value from structs and slice by custom tag

Pull Request - State: open - Opened by Rennbon almost 3 years ago - 13 comments

#279 - Add Go 1.16 and 1.17 to Travis

Pull Request - State: closed - Opened by gliptak almost 3 years ago - 1 comment

#278 - Unit test duplicate key SQLSTATE: 23505 error

Issue - State: open - Opened by Tak1za almost 3 years ago - 1 comment
Labels: question

#277 - Countermeasure for https://github.com/DATA-DOG/go-sqlmock/issues/239

Pull Request - State: closed - Opened by hi-watana almost 3 years ago

#276 - Access to underlying driver.Driver?

Issue - State: closed - Opened by slnt about 3 years ago - 2 comments

#275 - WithArgs doesn't work properly

Issue - State: open - Opened by glenshappy about 3 years ago - 1 comment
Labels: needs-info

#274 - Runtime error using gorm

Issue - State: closed - Opened by austinjherman about 3 years ago - 1 comment

#273 - How to get the mock connection url string from *sql.DB for unit testing PostgreSQL queries

Issue - State: closed - Opened by Dmaddu about 3 years ago - 2 comments
Labels: question

#270 - mock update with one more paras

Issue - State: closed - Opened by qinghai5060 about 3 years ago - 3 comments

#269 - Feed a mocked database with a SQL dump file

Issue - State: closed - Opened by droslean about 3 years ago - 1 comment

#268 - Really confused about the default sql matcher

Issue - State: closed - Opened by rantianhua about 3 years ago - 5 comments

#266 - row commit

Pull Request - State: closed - Opened by bctuser about 3 years ago - 2 comments

#265 - String

Issue - State: closed - Opened by afzalabbasi over 3 years ago - 2 comments
Labels: needs-info

#264 - Arguments Error

Issue - State: closed - Opened by afzalabbasi over 3 years ago - 4 comments

#263 - Add Multi Row Support

Pull Request - State: closed - Opened by asahasrabuddhe over 3 years ago - 3 comments

#262 - Mock time.Now()

Issue - State: closed - Opened by gmhafiz over 3 years ago - 4 comments

#261 - First commit

Pull Request - State: closed - Opened by dungbond007 over 3 years ago - 2 comments

#260 - first commit in test file

Pull Request - State: closed - Opened by balajibala123 over 3 years ago - 1 comment

#259 - Options for non-strict mock - allow unexpected calls

Issue - State: closed - Opened by serbrech over 3 years ago - 5 comments

#258 - Question: how to change return value of some methods?

Issue - State: closed - Opened by resotto over 3 years ago

#257 - set expectations to run multiple times

Pull Request - State: closed - Opened by yashschandra over 3 years ago - 2 comments

#256 - Getting length of sqlmock.Rows

Issue - State: closed - Opened by niklod over 3 years ago - 1 comment

#255 - Gorm Example with Preloading

Issue - State: closed - Opened by LucasMHI over 3 years ago - 6 comments
Labels: wontfix

#254 - update the way expectations.go initializes the margs variable

Pull Request - State: closed - Opened by sivchari over 3 years ago - 2 comments

#253 - Unexpected behavior matching multiple identical calls

Issue - State: closed - Opened by paulturner-resolute over 3 years ago - 1 comment
Labels: needs-info

#252 - go-sqlmock with gorm

Issue - State: closed - Opened by majidbl almost 4 years ago - 10 comments

#250 - Cannot open connection after all connections closed

Issue - State: closed - Opened by ianlewis almost 4 years ago - 2 comments

#249 - Fix ExpectedExec Stringer implementation

Pull Request - State: closed - Opened by maguro almost 4 years ago - 2 comments

#247 - Ability to clone sqlmock

Issue - State: closed - Opened by sanggonlee almost 4 years ago - 1 comment
Labels: wontfix

#244 - Update code sample

Pull Request - State: closed - Opened by ashhadsheikh about 4 years ago - 1 comment