On Wed, Dec 19, 2018 at 10:15 AM Daniele Antonini <
[email protected]> wrote:

> Well, I've searched a bit on mailing list and found some posts about
> testing,
>
> Like this one:
> https://groups.google.com/forum/m/#!searchin/jooq-user/Dataset/jooq-user/SHoA9GA2MwE
>
> Other posts are mocking database layer, and yes it is interesting and
> useful in some scenarios, but I found this approach too much time consuming
> (developing time) so my question is regarding database integration testing.
> I don't care too much that my tests could be slow (execution time).
> Execution time could be handled with an appropriate continuous integration
> cluster.
>

Mocking really doesn't scale. It's useful to test infrastructure logic
(like binding logic on the JDBC layer or on the jOOQ layer), but not an
entire database / business layer. At some point, a real database is needed,
ideally from the same vendor.

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to