Mateusz Loskot wrote:
>
> I like current tests, except the lack of central configuration so
> I could put all connection settings to soci_test.conf and then run
> all-at-once using make check
>
> That is it!
> Talking about CppUnit, *if* SOCI would need a unit test engine,
> TUT is better - only a few header files, only templates,
> very light but powerful: http://tut-framework.sourceforge.net/
> I use TUT in two projects:
> http://trac.osgeo.org/geos and http://liblas.org
>
> I've to have a look at it. But as mentioned in the other mail, with
CPPUnit, I do know how to do, and to do it in a fashion so that, for
instance, CruiseControl can do systematic build, checks and even release.
Moreover, CPPUnit is available on all the standard Linux distributions,
whereas TUT is not. But, as it seems a very good test framework, in line
with Boost-like philosophy, I'd like to try it and, why not, to package if
for Fedora/RedHat :)
There was plan to apply SOCI to Boost, then it would be required to
> use Boost Test framework. Anyway, this idea has been deferred.
>
> That would be very nice indeed (to apply SOCI to Boost)!
> Also, why not to consider SOCI as external/3rd-party dependency and do not
> keep it in local repo?
>
> Denis, do you maintain all other dependencies locally?
> If you do, I'd say it's a popular practice in many shops,
> but then you have to agree it will cost you time.
>
> I do have currently plenty of other dependencies (e.g., GSL, Boost, MySQL,
MySQL++, Xerces C++, RMOL, CPPUnit), but all are available in all the
standard Linux distributions (Debian-based and RPM-based). So, if I replace
MySQL++ by SOCI (which I do want to do), I have to package SOCI. Of course,
I can keep it in my own repository (not necessarily local), but in case you
agree to include me as a contributor, it may benefit to many other
developers.
I second Maciek's proposal. Python bindings would be awesome!
> However, I'd strongly encourage to use Boost Python instead of
> SWIG or c-types. We (SOCI) already uses Boost, so we agreed on Boost as a
> dependency.
>
> Boost is (more than) fine for me. I do not have Python skills, but it's
widely used in my company, and I also think it would be good to have Python
bindings to SOCI :)
Denis
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users