Hi Deba, Thanks for your message. This is now implemented for jOOQ 3.12 and it got backported to 3.11.8: https://github.com/jOOQ/jOOQ/issues/8093
Examples can be found here: https://www.jooq.org/doc/latest/manual/sql-execution/mock-file-database/ I hope this helps, Lukas On Tue, Aug 20, 2019 at 10:52 PM Debapriya Patra <[email protected]> wrote: > Hi, > > I am able to write unit test cases for my get JOOQ queries by defining > Mock data in .txt file but not able to do it for the INSERT/UPDATE queries. > > Sometimes back i have asked this question in another JOOQ forum where i > got a reply saying its not supported yet. > > I was just wondering like is there a way to write unit test for those > INSERT/UPDATE now or not. > > If it's possible then can someone help me getting a sample working example > where we have the unit test for insert and update queries ? > > Thanks, > Deba > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/6957cc0c-e1b1-436e-a711-0e6bb161fd5d%40googlegroups.com > <https://groups.google.com/d/msgid/jooq-user/6957cc0c-e1b1-436e-a711-0e6bb161fd5d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO41Lm1zYPSjRs1yZOYZFPF4kfJdtPSQyce1W-QuQs1txQ%40mail.gmail.com.
