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
Wachowski
32675e3ad1
delay for WillDelayFor() duration, before returning error set by WillReturnError()
...
If both WillDelayFor() and WillReturnError() are called, there should
be a delay before the error is returned. Applied to Begin, Exec,
Query, and Prepare. Also, the context versions of same.
And a couple of unit tests.
2018-02-20 17:30:20 -07: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
Gábor Lipták
395520ee2d
Correct spelling
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2017-11-25 09:32:17 -05:00
Gábor Lipták
1224f73cf9
Add GoReportCard badge to README
2017-11-25 09:25:54 -05: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
RJ
bfd9a9de56
Fixed spelling error
2017-08-02 21:09:34 -04: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
Michael MacDonald
ca83e31de6
Mikemacd patch 1 ( #2 )
...
* Update sqlmock.go
Permit prepares to obey MatchExpectationsInOrder flag, allowing prepared statements to be prepared in a different order than they were added to the expectations.
* Update sqlmock_test.go
Add test case for unordered prepared statements.
2017-05-30 15:44:56 -04:00
Alexey Palazhchenko
2d7c8ff1da
Use Retina-friendly badges
2017-05-30 20:11:38 +03:00
Alexey Palazhchenko
928b276200
Use latest patch releases
2017-05-30 20:09:52 +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
Ahmad Muzakki
1fd67a1762
- apply stripQuery before assigning query expectation
...
- remove unused function
2017-02-04 18:09:50 +07:00
Gediminas Morkevicius
d24b409866
Merge pull request #65 from ahmadmuzakki29/master
...
Build query before regex
2017-01-15 15:12:39 +02:00
Ahmad Muzakki
9758862a89
build query before regex, mimicking how sql.DB build their query
2017-01-15 18:57:16 +07:00
Gediminas Morkevicius
947ce303a7
Merge pull request #59 from gliptak/rows1
...
Additional test for rows
2016-11-28 09:55:35 +02:00
Gábor Lipták
e4bef44c55
Additional test for rows
2016-11-27 20:14:41 -05:00
Gediminas Morkevicius
8e610725b3
Merge pull request #58 from gliptak/commitclose1
...
Additional tests for Close
2016-11-27 21:11:37 +02:00
Gábor Lipták
1ed8c944b7
Additional tests for Close
2016-11-27 11:10:47 -05:00
Gediminas Morkevicius
5a27ef1f43
Merge pull request #57 from gliptak/prepared1
...
Additional tests for prepare
2016-11-27 13:29:46 +02:00
Gábor Lipták
ab864e894f
Additional tests for prepare
2016-11-26 19:38:05 -05: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
Gábor Lipták
a14a480cc0
Aditional tests for rollback and commit
2016-11-25 12:10:32 -05:00
Gediminas Morkevicius
93b7dd3ffa
Merge pull request #55 from gliptak/drivertest1
...
Tests for driver DSN
2016-11-24 09:16:41 +02:00
Gábor Lipták
2a46c55287
Tests for driver DSN
2016-11-23 17:46:15 -05:00
Gediminas Morkevicius
600aa16d3e
Merge pull request #54 from gliptak/rollbackfail1
...
Implement rollback throw test
2016-11-23 09:16:09 +02:00