You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Jürgen Schmidt <jo...@gmail.com> on 2014/05/16 15:41:50 UTC
[CODE]: proposal to integrate Google test framework as replacement
for cppunit
Hi,
I am currently investigating in Google's C++ test framework [1] which
seems to be quite powerful and a good replacement for cppunit which has
not the proper license.
My idea is to use gtest as general C++ unit testing framework in our
build environment and replace long term all cppunit based tests with new
or adapted tests using gtest.
A further goal is to use this testing framework for new C++ unit tests
and enable these new unit tests by default. Means I plan to introduce a
new build requisite and let the user actively disable unit testing on
demand (eg. configure ... --disable-unit-tests).
I believe it is a good thing to enable these unit test by default and
let them disable on demand. We want to get informed if something gets
wrong as soon as possible.
But we will have different options to complete a build even if an unit
tests fails. But more detailed information will come later.
For the moment I just want to propose this enhancement (from my pov) and
trying to build it on Linux, Mac and Windows.
Juergen
[1] https://code.google.com/p/googletest/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: [CODE]: proposal to integrate Google test framework as replacement
for cppunit
Posted by Andre Fischer <aw...@gmail.com>.
On 16.05.2014 15:41, Jürgen Schmidt wrote:
> Hi,
>
> I am currently investigating in Google's C++ test framework [1] which
> seems to be quite powerful and a good replacement for cppunit which has
> not the proper license.
>
> My idea is to use gtest as general C++ unit testing framework in our
> build environment and replace long term all cppunit based tests with new
> or adapted tests using gtest.
>
> A further goal is to use this testing framework for new C++ unit tests
> and enable these new unit tests by default. Means I plan to introduce a
> new build requisite and let the user actively disable unit testing on
> demand (eg. configure ... --disable-unit-tests).
>
> I believe it is a good thing to enable these unit test by default and
> let them disable on demand. We want to get informed if something gets
> wrong as soon as possible.
>
> But we will have different options to complete a build even if an unit
> tests fails. But more detailed information will come later.
>
> For the moment I just want to propose this enhancement (from my pov) and
> trying to build it on Linux, Mac and Windows.
+1
It will be very helpful in upcoming development work.
-Andre
>
>
> Juergen
>
>
> [1] https://code.google.com/p/googletest/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org
Re: [CODE]: proposal to integrate Google test framework as
replacement for cppunit
Posted by jan iversen <ja...@gmail.com>.
On 16 May 2014 15:41, Jürgen Schmidt <jo...@gmail.com> wrote:
> Hi,
>
> I am currently investigating in Google's C++ test framework [1] which
> seems to be quite powerful and a good replacement for cppunit which has
> not the proper license.
>
> My idea is to use gtest as general C++ unit testing framework in our
> build environment and replace long term all cppunit based tests with new
> or adapted tests using gtest.
>
> A further goal is to use this testing framework for new C++ unit tests
> and enable these new unit tests by default. Means I plan to introduce a
> new build requisite and let the user actively disable unit testing on
> demand (eg. configure ... --disable-unit-tests).
>
> I believe it is a good thing to enable these unit test by default and
> let them disable on demand. We want to get informed if something gets
> wrong as soon as possible.
>
> But we will have different options to complete a build even if an unit
> tests fails. But more detailed information will come later.
>
> For the moment I just want to propose this enhancement (from my pov) and
> trying to build it on Linux, Mac and Windows.
>
+1 speaking as one who knows both cppunit and gtest.
rgds
jan I.
>
>
> Juergen
>
>
> [1] https://code.google.com/p/googletest/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>