On Thu, 26 Mar 2015 23:46:18 +0100 Mateusz Loskot <[email protected]> wrote:

ML> Not litreally, I meant single assert as testing one thing per test routine.
ML> Currently, tests are bundled together around test data/table.

 Ah, yes, I certainly agree with this, sorry for the misunderstanding.

ML> >  What would be the meaning of integration tests for SOCI? I.e. integration
ML> > of what with what would they be testing? I am not sure how can we write
ML> > more than just unit tests for a library like it.
ML> 
ML> We don't have unit tests.
ML> The tests we have are integration tests.
ML> I just had an idea of writing unit tests for the API, with mockery.
ML> Hence, the distinction in the folders.

 Interesting, it looks like we're not using the same terminology. For me
the simple tests directly exercising the library API are the unit tests.
But well, like all terminological discussions, this one is probably not
very interesting.

ML> I agree and I'm supportive about merging your efforts.
...
ML> > 2. Complete the work done for Firebird on catch-tests branch for the other
ML> >    backends and merge it.
ML> 
ML> Let's stick to this one, IMHO.

 OK, thanks for your support! I won't be able to finish this today, but
I'll try to do it tomorrow or, if this fails too, early next week. One way
or the other, I really want to get CATCH in.

 I will also try to find the time for splitting the tests in multiple
files, having a single ~4KLoC common-tests.h header is rather annoying. But
I don't promise this...

 Regards,
VZ

Attachment: pgpUgv8EFCCe4.pgp
Description: PGP signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to