1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2024-11-24 08:12:13 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
Ahmad Muzakki
1fd67a1762 - apply stripQuery before assigning query expectation
- remove unused function
2017-02-04 18:09:50 +07:00
Ahmad Muzakki
9758862a89 build query before regex, mimicking how sql.DB build their query 2017-01-15 18:57:16 +07: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
5b568f0d25 update readme and check with linters 2016-01-21 21:09:44 +02:00
gedi
dc0efdab8f allow to set errors for rows scan
* 9a36c2e more examples and tests for rows
* 908877e cannot mock rows.Columns error so far
2015-08-28 10:25:49 +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
gedi
c8ac9dfd29 mention about escaping characters for regular expressions #6 2014-08-15 21:44:50 +03: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
c33b881467 documentation update based on lint 2014-02-08 17:53:15 +02:00
gedi
ee2ed8f2d5 add doc blocks, split files 2014-02-07 10:02:57 +02:00
gedi
3e67393335 initial commit 2014-02-05 16:21:07 +02:00