Commit Graph

65 Commits

Author SHA1 Message Date
Nikita Volkov
7d24e0d9d3 Reduce the amount of changes to the error model for now 2024-04-27 22:00:26 +03:00
Nikita Volkov
b4ed0eab56 Rename testing-utils to testing-kit 2024-04-22 07:32:56 +03:00
Nikita Volkov
8f5d6f7e81 Implement pipeline errors 2024-04-22 07:15:10 +03:00
Nikita Volkov
5e8147b737 Revise errors 2024-04-21 16:42:04 +03:00
Nikita Volkov
3c831284bd Repurpose QueryError as a more general SessionError 2024-04-21 12:34:19 +03:00
Nikita Volkov
7d4a3b14f4 Get rid of the decidable instance 2024-04-21 06:35:33 +03:00
Nikita Volkov
a86cfd0873 Get rid of the decidable instance 2024-04-21 06:34:06 +03:00
Nikita Volkov
84292fb755 Rename runSession to runSessionOnLocalDb 2024-04-20 14:03:42 +03:00
Nikita Volkov
b49c94ed2a Factor constants out 2024-04-20 13:59:11 +03:00
Nikita Volkov
463559446d Isolate testing utils 2024-04-20 13:46:51 +03:00
Nikita Volkov
f2f747e6c6 Switch to ImportQualifiedPost 2024-04-19 07:38:30 +03:00
Nikita Volkov
30c8d67e85 Add password for CI 2023-10-16 04:01:31 +03:00
Nikita Volkov
6270c62cee Lint 2023-10-16 03:54:25 +03:00
nikita-volkov
55dc24bbd5 Format 2023-10-12 23:24:12 +00:00
Nikita Volkov
31c553bd84 Add unkown enum 2022-11-21 22:58:44 +03:00
Nikita Volkov
78a0be8fcf Fix the tests and add name and oid types 2022-10-17 23:41:10 +03:00
Nikita Volkov
05ced1a711 Add a failing test on array of composites 2022-10-15 12:54:25 +03:00
Nikita Volkov
9276d7e298 Add error position 2022-07-07 10:47:11 +03:00
Nikita Volkov
b64a7015a1 Format with ormolu 2022-06-20 13:55:04 +03:00
Nikita Volkov
fb5b48c46a Make the tests compatible with the rerebase 1.11 2021-03-24 16:41:07 +03:00
Nikita Volkov
46b836796e Ditch mapLeft 2020-04-08 21:08:19 +03:00
Nikita Volkov
3de214198a Fix the compatibility issues in benchmarks and tests 2020-03-21 20:48:16 +03:00
Nikita Volkov
db4261ddb5 Rename unit to noResult 2019-05-21 13:25:22 +03:00
Nikita Volkov
5b258ae53a Ditch Primitive from encoders
That's for consistency with decoders, and decoders can't have this separation without introducing too much complexity. That's so because of there existing a support for composite types, which may consist of arrays and arrays may consist of composites.
2019-05-21 12:59:50 +03:00
Nikita Volkov
51e0568b75 Add array roundtrip tests 2019-05-21 08:49:47 +03:00
Nikita Volkov
590be494bc Redesign decoders 2019-05-21 01:20:57 +03:00
Nikita Volkov
19345cf624 Redesign the encoders 2019-05-20 19:24:27 +03:00
Nikita Volkov
9eee8c990b Ditch the integration with "default" 2019-05-20 15:02:17 +03:00
Nikita Volkov
509dafdfbf Rename Query to Statement 2018-05-23 18:33:34 +08:00
Nikita Volkov
726097efd5 Rename some result decoders 2018-05-23 18:11:16 +08:00
Nikita Volkov
8eb3830a7f Make the codec names more consistent 2018-05-23 18:09:16 +08:00
Nikita Volkov
ea4874ca7e Reimplement to add support for query param printing in failed queries 2018-05-23 17:58:24 +08:00
Nikita Volkov
b806c6ef1c Migrate from EitherT to ExceptT 2017-11-26 11:24:40 +03:00
Nikita Volkov
f76d67ed1f Restore the older test 2017-11-01 20:37:01 +03:00
steve-chavez
26fc28d922 Fix #80, better behavior for unknown encoder 2017-10-28 18:11:47 -05:00
Nikita Volkov
b41ca069d7 Merge branch 'pr/64'
* pr/64:
  Fix the test
  Failing composite test.
2016-12-09 11:34:45 +03:00
Nikita Volkov
3244140243 Fix the test 2016-12-09 11:34:26 +03:00
Nikita Volkov
98de66fc22 Update the deps 2016-12-09 11:33:45 +03:00
Karl Sutt
cbe38bb459 Failing composite test. 2016-12-08 22:59:23 +00:00
Nikita Volkov
a1a5e15da8 Add tests for "IN" and "NOT IN" simulations 2016-11-18 20:15:26 +03:00
Nikita Volkov
08564ab360 Fix the Composite decoder 2016-10-01 15:34:44 +03:00
Nikita Volkov
c883289be3 Reproduce the empty array issue (#46) 2016-04-12 22:16:57 +03:00
Nikita Volkov
12a5e538fd Failing prepared statements test 2016-02-26 14:11:30 +03:00
Nikita Volkov
6cb86412ca Test prepared statements and errors 2016-02-23 09:43:17 +03:00
Nikita Volkov
b38a881b50 Reproduce a bug 2016-01-24 19:52:04 +03:00
Nikita Volkov
129775fe40 Reproduce the bug 2016-01-22 18:43:15 +03:00
Nikita Volkov
9d3bc1c0d8 Update the test DSL 2016-01-22 18:38:34 +03:00
Nikita Volkov
4e596bd8f4 Test Unknown 2016-01-13 16:15:35 +03:00
Nikita Volkov
25a66b2443 A hotfix of the inverted integer-datetimes detection bug in encoders 2016-01-12 17:25:01 +03:00
Nikita Volkov
15be208dd5 Move Settings to Connection 2015-12-23 17:07:14 +05:00