Timeline for Unit testing a general purpose database library
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 28, 2017 at 1:07 | vote | accept | JimmyJames | ||
| Apr 25, 2017 at 21:29 | comment | added | JimmyJames | The isolation of the query is a big part of the API but I'm not (at this point) considering trying to normalize or generate query strings. My focus is on working with the results. JOOQ which is the MockConnection provider referenced in the comments on the question looks like it might fit the bill. The javadocs even say "avoiding the round-trip of using an actual in-memory test database, such as Derby, ...". I think I might even be able to use test ids as the 'query' which really fits well. | |
| Apr 25, 2017 at 17:35 | history | answered | Berin Loritsch | CC BY-SA 3.0 |