1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-02-16 18:34:27 +02:00

20 Commits

Author SHA1 Message Date
gedi
a00b6aa80e asserts ordinal argument position, fixes expected query error message 2017-02-16 22:33:12 +02:00
gedi
128bf5c539 implements next rows result set support 2017-02-08 17:35:32 +02:00
gedi
cfb2877c66 tests Context sql driver extensions 2017-02-07 15:03:05 +02:00
gedi
d11f623794 implements named arguments support and adds delay expectation for context deadline simulation 2017-02-06 14:38:57 +02:00
Kris Brandow
19a0529399 Fixing incorrect []byte handling in expectation.
Fixes the incorrect handling of []byte when comparing an argument
recieved from Exec or Query and the exepected value.

Closes #35
2016-02-25 08:34:10 -05:00
gedi
2165444c8d add AnyArg func to provide any kind of argument matcher 2016-02-23 11:24:34 +02:00
gedi
de514b7bf0 closes #31 2016-02-23 11:14:34 +02:00
Konrad Mrozek
4a802e4278 add bool type to query arg matcher 2016-01-26 15:20:18 +01:00
gedi
febff80c09 do not expose sql driver methods for sqlmock, give interface 2015-08-28 11:06:14 +03:00
gedi
5c18417f3f more expressive expectation error output 2015-08-28 10:26:55 +03:00
gedi
566ca54083 allow unordered expectation matching, support for goroutines
* 1778939 take care of locks for goroutine based matching
2015-08-28 10:26:42 +03:00
gedi
a071483cba concurrency support, closes #20 and closes #9 and closes #15
* c600769 do not require a connection name, unique dsn is generated
* 1b20b9c update travis
* 1097b6a add comments for godoc documentation
* c142a95 fix golint reported issues
2015-08-28 10:25:20 +03:00
Luigi Kapaj
bdbf874463 mock Prepare to return error 2014-09-23 17:38:15 -04:00
gedi
4c6f0e69c3 update formatting and readme 2014-05-29 17:11:13 +03:00
Algirdas Matas
27fabfa23a add custom argument matching 2014-05-29 16:43:37 +03:00
John Robinson
52242da115 make arg expectations optional
sometimes it's impossible to anticipate the args (such as in an
insert), sometimes args don't need to be checked
2014-02-27 13:53:46 -08:00
gedi
af59e07d27 update and test query whitespace stripping 2014-02-07 15:04:47 +02:00
gedi
ee2ed8f2d5 add doc blocks, split files 2014-02-07 10:02:57 +02:00
gedi
2fc5a0dd15 add readme and update error messages 2014-02-06 17:03:46 +02:00
gedi
3e67393335 initial commit 2014-02-05 16:21:07 +02:00