On Fri, Dec 15, 2017 at 5:21 AM, Philip McGrath <[email protected]> wrote: > It's worth noting that, if your code support sqlite as a back-end, I believe > you could use that for tests on the package server.
Ah, good suggestion. Right now I'm using the '...RETURNING...' clause, which is Postgres-only, but maybe I could work around that. Thanks. > > > On Thu, Dec 14, 2017 at 7:05 AM, David Storrs <[email protected]> > wrote: >> >> On Wed, Dec 13, 2017 at 6:41 PM, Jack Firth <[email protected]> wrote: >> > In my fixture package I'm attempting to (hopefully) make this sort of >> > thing >> > easier for RackUnit-based tests (see this github issue), so if you're >> > using >> > RackUnit I'm interested in seeing what your tests look like and how you >> > go >> > about setting up a database for them. >> >> I'm actually not using RackUnit...I rolled my own 'test-more' library >> that is more like what I'm used to -- among other things it has output >> on success as well as failure so that you know it worked and it >> doesn't have such verbose names for the tests. Still, that could >> easily be converted into a RackUnit test just by running the regular >> tests, capturing the output of each one, and having a RackUnit test >> that uses a string match to verify that the message said it passed. >> >> Thanks to the pointer to fixture and disposables, they look useful. >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Racket Users" 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 >> "Racket Users" 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 "Racket Users" 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.

