Hi Rahim,

jOOQ has been around since 2009. In 2019, 10 years later, and 5 years after
this has become a business, we have roughly 250 paying customers (some of
which listed here: https://www.jooq.org/customers) and I'm guessing /
extrapolating that around 10k - 20k companies are using the jOOQ Open
Source Edition with around 1M monthly downloads from Maven Central. All of
these companies trust their core data access to jOOQ. This would not be
possible if jOOQ wasn't very well tested. In the last 10 years, there had
been bugs of course, but only very few regressions.

We have about 1000 unit tests for stuff that doesn't depend on a running
RDBMS, and an equal number of integration tests where we run an actual ~15k
different SQL queries against all the 25 currently supported RDBMS,
validating that jOOQ produces the expected SQL statement and the RDBMS
returns the correct result. In fact, our integration tests run the most
unusual SQL statements, precisely because we have to check whether all
sorts of expressions still work. That occasionally leads to us discovering
bugs in RDBMS, such as this one, which no one else ever runs into:
https://github.com/h2database/h2database/issues/1606

Having said so, our tests are not open source, which is why you will not
find them anywhere. Just like the SQLite database, we offer our open source
edition itself for free (the binary), but by close sourcing the tests,
among other measures, we can help ensure our business is sustainable.

In other words, I'm positive that you can skip testing the generated
classes for your school project assignment. :)

Thanks,
Lukas

On Fri, Mar 1, 2019 at 9:40 PM rahim klaber <[email protected]> wrote:

> I'm doing a school project and we have to test our java code.
> I'm generating some classes with JOOQ and I was told by my TA that I could
> skip testing the generated classes if JOOQ is well tested.
>
> This sounds like a stupid question but I couldn't find anything about this
> topic.
>
> --
> 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.
>

-- 
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