On Thursday, February 6, 2014 11:21:57 PM UTC+5:30, Lukas Eder wrote: > > Hi Shyam, > > 2014-02-06 12:54 GMT+01:00 Sha <[email protected] <javascript:>>: > >> Hi Lukas, >> Today I had given a partial demo of my POC to my management about >> jOOQ. They are quite impressed with features and ease it provides. >> > > That's great news! Thanks for the feedback! > > >> Apart from what I have show, they are interested for MockDataProvider >> feature provided by jOOQ. >> >> It is understood that ,some time back they got some pdf from jOOQ's >> providers regarding the Mock data feature which generates the test data >> i.e. mock data. >> >> Can you give any url link or a doc which throws more light on the same >> feature and how to implement for my code ? >> Not much information is provided in the user guide. >> > > Yes, you're right. There's not much more in the manual (or in the blog) > about the MockDataProvider: > - http://www.jooq.org/doc/3.2/manual/tools/jdbc-mocking/ > - http://blog.jooq.org/2013/02/20/easy-mocking-of-your-database/ > > This feature has been originally requested by Aaron Digulla in this thread: > - https://groups.google.com/forum/#!msg/jooq-user/OQzuxbqk-w8/MbtmKAnZ2h4J > > When you mock your database for unit testing, people usually implement all > of the JDBC API, which is quite cumbersome. The idea behind the > MockDatabase is that you only implement a single method to simulate almost > all database interactions. > Not a problem but where I found more about it, for implementation.
> > It is currently in a draft version, and there are no high-priority plans > to further enhance it, unless we get more real-world use-cases from > customers. I'm personally not that big of a fan of unit testing and mocking > database interaction, as it is very hard to cover all the complexity. > Personally, I prefer to write integration tests against a real test > database with actual data. > It would be helpful for us, if there is any documentation on how to implement it. Please share if there is any. > Let me know if you have any concrete use-cases that you might want to have > covered. > As I told I need to test/debug the individual piece of logic inside a stored procedure as it has several independent blocks of logic which depends on each other and work as cohesive. For that we need your help to make it possible using our jOOQ. Appreciate your help in this direction. > Best Regards, > Lukas > -- 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/groups/opt_out.
