Nikita Koryabkin
|
118815aba3
|
fix
|
2019-12-02 14:54:33 +03:00 |
|
Nikita Koryabkin
|
f3f5a5d16b
|
added support for mammoths
|
2019-12-02 14:39:36 +03:00 |
|
Nikita Koryabkin
|
2ef7c147be
|
migration from custom namedValue to driver.NamedValue
|
2019-11-28 13:51:27 +03:00 |
|
Benjamin Rupp
|
181c3c5c8e
|
Fix go fmt
|
2019-09-25 10:45:27 -04:00 |
|
Benjamin Rupp
|
cb3e425163
|
Moving Exec(...) test to 1.9 build as NamedValueChecker is only supported since 1.9
|
2019-09-25 10:33:09 -04:00 |
|
Benjamin Rupp
|
6099e2fbb4
|
Adding unit tests for Query/Scan and Exec mocking, using custom []string data type
|
2019-09-25 09:11:30 -04:00 |
|
gedi
|
a6e6646ad9
|
use configured QueryMatcher in order to match expected SQL to actual, closes #70
|
2018-12-11 15:20:44 +02:00 |
|
Jan Waś
|
f2bc8f904e
|
allow to use a custom converter
|
2018-08-06 22:29:24 +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 |
|
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 |
|