gedi
|
2a15d9c09b
|
add QueryMatcher interface for customizing SQL matching
|
2018-12-11 14:22:16 +02:00 |
|
Gediminas Morkevicius
|
e4e10ddf73
|
Merge pull request #147 from gliptak/gofmt1
Gofmt sqlmock_test.go
|
2018-10-21 23:12:15 +03:00 |
|
Gediminas Morkevicius
|
d4b2bccf3e
|
Merge pull request #134 from nineinchnick/custom-converter
Allow to use a custom converter
|
2018-09-14 13:42:08 +03:00 |
|
gedi
|
4eed5ba1a0
|
add latest go version to travis build
|
2018-09-08 19:12:32 +03:00 |
|
gedi
|
c8e01dc244
|
custom driver value mocking #131
|
2018-08-03 22:46:48 +03:00 |
|
Gediminas Morkevicius
|
852fc940e4
|
Merge pull request #129 from dolmen/apply-ParameterConverter-on-Row-values
Apply parameter converter on row values
|
2018-07-20 11:32:39 +03:00 |
|
Gediminas Morkevicius
|
4d2035c879
|
Merge pull request #128 from dolmen/improve-Travis-CI
Use gopkg.in import path for Travis and examples
|
2018-07-12 16:15:28 +03:00 |
|
Gediminas Morkevicius
|
5e7c2fba63
|
Merge pull request #127 from dolmen/fix-test-NullInt
testsuite: fixes in NullInt/NullTime
|
2018-07-12 16:08:31 +03:00 |
|
gedi
|
b9ca56ce96
|
add go1.10 in travis
|
2018-03-04 17:30:57 +02:00 |
|
Gediminas Morkevicius
|
a6b4b164c6
|
Merge pull request #110 from markuswrnp/wait-error
delay for WillDelayFor() duration, before returning error set by WillReturnError()
|
2018-02-21 09:21:20 +02:00 |
|
Gediminas Morkevicius
|
a7b3087be7
|
Merge pull request #101 from gliptak/patch-1
Add GoReportCard badge to README
|
2017-11-27 10:00:01 +02:00 |
|
Gediminas Morkevicius
|
710c1a61f5
|
Merge pull request #102 from gliptak/spell1
Correct spelling
|
2017-11-27 09:57:17 +02:00 |
|
gedi
|
08090c7d68
|
adds go 1.9.x to be run in travis CI
|
2017-10-04 17:32:19 +03:00 |
|
gedi
|
d76b18b42f
|
fixes new feature for > 1.8 go versions
|
2017-09-01 10:34:10 +03:00 |
|
gedi
|
9d03611ad1
|
allow to expect prepared statement to be closed, closes #89
|
2017-09-01 10:24:02 +03:00 |
|
Gediminas Morkevicius
|
c91a7f4b68
|
Merge pull request #87 from whiteheadrj/master
Fixed GoDoc spelling error
|
2017-08-03 09:15:24 +03:00 |
|
gedi
|
d335ff60c1
|
fixes travis build with gofmt
|
2017-06-02 11:59:07 +03:00 |
|
gedi
|
b2ca44a80b
|
updates travis to validate with go fmt
|
2017-05-31 23:54:14 +03:00 |
|
gedi
|
d1ba2809d5
|
travis run 1.4 instead of latest, because it has no cover tool
|
2017-05-31 10:20:00 +03:00 |
|
gedi
|
4d1a16152a
|
travis runs tip instead of master
|
2017-05-31 10:12:33 +03:00 |
|
Gediminas Morkevicius
|
98b917bbe2
|
Merge pull request #81 from mikemacd/master
Permit prepares to obey MatchExpectationsInOrder flag
|
2017-05-31 09:17:47 +03:00 |
|
Gediminas Morkevicius
|
178a157e33
|
Merge pull request #79 from AlekSi/patch-1
Use latest patch releases
|
2017-05-30 23:20:08 +03:00 |
|
Gediminas Morkevicius
|
b687cca4a3
|
Merge pull request #80 from AlekSi/patch-2
Use Retina-friendly badges
|
2017-05-30 23:04:30 +03:00 |
|
gedi
|
18ab7ac1c7
|
improves error messages, closes #77
|
2017-04-26 09:56:38 +03:00 |
|
gedi
|
a32ff1cda1
|
updates travis ci, as tip no longer refers to master
|
2017-04-16 20:09:25 +03:00 |
|
gedi
|
8fd5411d53
|
adds more details about changes made to v1.2.0 version
|
2017-04-16 12:12:12 +03:00 |
|
Gediminas Morkevicius
|
b983233bc0
|
Merge pull request #68 from DATA-DOG/go1.8
Support for go 1.8 SQL features
|
2017-02-21 17:59:18 +02:00 |
|
gedi
|
372a183d52
|
adds go1.8 to travis
|
2017-02-21 17:53:38 +02:00 |
|
gedi
|
a00b6aa80e
|
asserts ordinal argument position, fixes expected query error message
|
2017-02-16 22:33:12 +02:00 |
|
gedi
|
53b2cd1534
|
updates readme and license
|
2017-02-09 09:26:25 +02:00 |
|
gedi
|
128bf5c539
|
implements next rows result set support
|
2017-02-08 17:35:32 +02:00 |
|
gedi
|
42ab7c33d0
|
implements Pinger (without expectation yet) and prepared stmt Context methods
|
2017-02-08 15:32:39 +02:00 |
|
gedi
|
6bbe187a1a
|
closes #60
|
2017-02-08 15:09:40 +02:00 |
|
gedi
|
cfb2877c66
|
tests Context sql driver extensions
|
2017-02-07 15:03:05 +02:00 |
|
gedi
|
965003de80
|
implements Context based sql driver extensions
|
2017-02-07 12:20:08 +02:00 |
|
gedi
|
d11f623794
|
implements named arguments support and adds delay expectation for context deadline simulation
|
2017-02-06 14:38:57 +02:00 |
|
Gediminas Morkevicius
|
55ecc5a333
|
Merge pull request #67 from ahmadmuzakki29/master
apply stripQuery before assigning query expectation
|
2017-02-05 21:41:58 +02:00 |
|
Gediminas Morkevicius
|
d24b409866
|
Merge pull request #65 from ahmadmuzakki29/master
Build query before regex
|
2017-01-15 15:12:39 +02:00 |
|
Gediminas Morkevicius
|
947ce303a7
|
Merge pull request #59 from gliptak/rows1
Additional test for rows
|
2016-11-28 09:55:35 +02:00 |
|
Gediminas Morkevicius
|
8e610725b3
|
Merge pull request #58 from gliptak/commitclose1
Additional tests for Close
|
2016-11-27 21:11:37 +02:00 |
|
Gediminas Morkevicius
|
5a27ef1f43
|
Merge pull request #57 from gliptak/prepared1
Additional tests for prepare
|
2016-11-27 13:29:46 +02:00 |
|
Gediminas Morkevicius
|
86364abb39
|
Merge pull request #56 from gliptak/expectations1
Aditional tests for rollback and commit
|
2016-11-26 12:17:07 +02:00 |
|
Gediminas Morkevicius
|
93b7dd3ffa
|
Merge pull request #55 from gliptak/drivertest1
Tests for driver DSN
|
2016-11-24 09:16:41 +02:00 |
|
Gediminas Morkevicius
|
600aa16d3e
|
Merge pull request #54 from gliptak/rollbackfail1
Implement rollback throw test
|
2016-11-23 09:16:09 +02:00 |
|
Gediminas Morkevicius
|
90f77f1204
|
Merge pull request #53 from gliptak/codecov1
Add codecov.io
|
2016-11-22 10:03:52 +02:00 |
|
gedi
|
d4cd2ca2ad
|
closes #50
|
2016-11-02 14:49:59 +02:00 |
|
gedi
|
05f39e9110
|
closes #45
|
2016-07-22 22:26:40 +03:00 |
|
Gediminas Morkevicius
|
f191e86036
|
Merge pull request #41 from omnicolor/fix-typo
Fixed typo (stetement -> statement)
|
2016-04-14 09:08:51 +03:00 |
|
Gediminas Morkevicius
|
9958e5c69d
|
Merge pull request #39 from jamiecuthill/master
Trigger expectations met when query and args matched
|
2016-02-26 19:13:42 +00:00 |
|
gedi
|
37302508b4
|
fix go vet tool reported formatting issues
|
2016-02-26 14:45:18 +02:00 |
|
gedi
|
11d3eed600
|
change package url for README consistency with example, closes #34
|
2016-02-26 14:41:45 +02:00 |
|
gedi
|
b465b1f024
|
refers to #37
|
2016-02-26 14:38:04 +02:00 |
|
Gediminas Morkevicius
|
55a0289da5
|
Merge pull request #38 from jamiecuthill/master
Fixes issue with false positive on met expectations
|
2016-02-26 12:27:59 +00:00 |
|
gedi
|
3769fed739
|
add a test for slice argument matching
|
2016-02-25 15:43:56 +02:00 |
|
Gediminas Morkevicius
|
f071545205
|
Merge pull request #36 from skriptble/master
Fixing incorrect []byte handling in expectation.
|
2016-02-25 13:42:47 +00:00 |
|
Gediminas Morkevicius
|
b54b0cd4c8
|
Merge pull request #32 from DATA-DOG/natural-argument-converters
Natural argument converters
|
2016-02-23 10:03:17 +00:00 |
|
gedi
|
cee8a78569
|
add 1.6 to travis
|
2016-02-23 11:57:14 +02:00 |
|
gedi
|
4bb07b88b3
|
closes #25
|
2016-02-23 11:47:39 +02: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 |
|
gedi
|
808cdc9973
|
document time.Time argument matching example
|
2016-02-04 09:42:49 +02:00 |
|
Gediminas Morkevicius
|
f49a90b6f7
|
Merge pull request #28 from mrroman/master
Add bool type to query arg matcher
|
2016-01-27 18:03:58 +02:00 |
|
gedi
|
f55ca83ba0
|
update travis ci config
|
2016-01-21 21:18:28 +02:00 |
|
gedi
|
5b568f0d25
|
update readme and check with linters
|
2016-01-21 21:09:44 +02:00 |
|
gedi
|
081a694b0a
|
closes #24
|
2015-09-10 21:31:35 +03:00 |
|
gedi
|
febff80c09
|
do not expose sql driver methods for sqlmock, give interface
|
2015-08-28 11:06:14 +03:00 |
|
Gediminas Morkevicius
|
711064c51d
|
Merge pull request #21 from DATA-DOG/refactor
concurrency support, closes #20 and closes #9 and closes #15
|
2015-08-28 10:37:42 +03:00 |
|
gedi
|
32a1b9d93f
|
update readme and add example
* dcca987 add an old example and a basic one
|
2015-08-28 10:26:55 +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
|
5a740a6373
|
rows scan error mocking test
|
2015-08-28 10:26:42 +03:00 |
|
gedi
|
acfbd5d998
|
allow null values from csv string to be converted to nil
|
2015-08-28 10:26:42 +03: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
|
ed4836e31d
|
update readme
|
2015-07-09 09:21:36 +03:00 |
|
Gediminas Morkevicius
|
f900b6ec8a
|
Merge pull request #19 from brunoqc/patch-1
Fix typo in README
|
2015-06-27 11:07:18 +03:00 |
|
gedi
|
5d1551fda1
|
check for errors
|
2015-03-30 22:32:57 +03:00 |
|
gedi
|
e163520142
|
related to sql escaping #14
|
2015-03-30 21:38:39 +03:00 |
|
gedi
|
5b6166bfbf
|
update travis
|
2015-01-25 12:40:37 +02:00 |
|
Gediminas Morkevicius
|
8b39a1b05d
|
Merge pull request #12 from totalcareauto/cj_expectation_error
Move errors in expectation to after query and args checks.
|
2015-01-25 11:42:48 +02:00 |
|
Gediminas Morkevicius
|
f532427f05
|
Merge pull request #8 from PuppyKhan/master
ExpectPrepare() addition
|
2014-09-25 09:20:40 +03:00 |
|
gedi
|
e36ad8d068
|
return error instead panic if argument reflection types are not matching
|
2014-08-16 12:57:40 +03:00 |
|
gedi
|
c8ac9dfd29
|
mention about escaping characters for regular expressions #6
|
2014-08-15 21:44:50 +03:00 |
|
gedi
|
db5b4c9deb
|
update travis to get vet tool
|
2014-08-14 20:48:03 +03:00 |
|
gedi
|
60b2068e00
|
closes #5
|
2014-08-14 20:38:46 +03:00 |
|
gedi
|
4c6f0e69c3
|
update formatting and readme
|
2014-05-29 17:11:13 +03:00 |
|
gedi
|
fa31f407df
|
closes #4
|
2014-04-21 18:21:28 +03:00 |
|
Gediminas Morkevicius
|
2e154ee410
|
Merge pull request #3 from treetopllc/master
Optional argument expectations
|
2014-03-09 11:36:31 +02:00 |
|
gedi
|
5aa5d01fb9
|
add test for row builder and NilType based row values
|
2014-02-14 17:15:06 +02:00 |
|
gedi
|
efe94c317b
|
compose Rows interface with sql driver.Rows
|
2014-02-14 17:12:48 +02:00 |
|
gedi
|
bdba0bb0c6
|
Rows interface to allow building rows in different ways
|
2014-02-14 00:14:32 +02:00 |
|
gedi
|
008d8847b2
|
Merge remote-tracking branch 'hebo/typed_rows'
* hebo/typed_rows:
Allow for multiple rows by manually creating each row
Create a single row from an interface list - #1
|
2014-02-13 22:37:00 +02:00 |
|
gedi
|
c33b881467
|
documentation update based on lint
|
2014-02-08 17:53:15 +02:00 |
|
gedi
|
b89aa3ac1e
|
let travis ci test it
|
2014-02-07 16:52:26 +02:00 |
|
gedi
|
af59e07d27
|
update and test query whitespace stripping
|
2014-02-07 15:04:47 +02:00 |
|
gedi
|
6f1be66c43
|
update package for godoc
|
2014-02-07 10:44:41 +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 |
|