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 2013/03/11 16:56:41 UTC

[CODE][PROPOSAL]: replace cppunit with GoogleTest

Hi,

as part of our ip cleanup we remove the cppunit sources and allow the
system cppunit only. This is sup-optimal and a limitation from my point
of view.

I looked for an alternative and found GoogleTest [1] which seems to be a
possible alternative. I don't have time to investigate deeper in this at
the moment but maybe there is a new volunteer who is interested to
investigate some time here. I think it's a perfect task to get started
and play around with some basic modules like cppu etc.

Juergen

[1] http://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]: replace cppunit with GoogleTest

Posted by Andrea Pescetti <pe...@apache.org>.
On 12/03/2013 Jürgen Schmidt wrote:
> But in general, yes I think it can be a candidate for GSOC when somebody
> will mentor it.

OK. I've now entered it in Bugzilla, not to lose track of it:
https://issues.apache.org/ooo/show_bug.cgi?id=121909

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [CODE][PROPOSAL]: replace cppunit with GoogleTest

Posted by Jürgen Schmidt <jo...@gmail.com>.
On 3/12/13 9:09 AM, Andrea Pescetti wrote:
> On 11/03/2013 Juergen Schmidt wrote:
>> googletest. Good to know that it can do what I expected or better
> 
> Is this a good candidate project for the Google Summer of Code? If it
> is, please let's track it somewhere in Bugzilla and/or put a reference
> in http://wiki.openoffice.org/wiki/Summer_of_Code_2013
> 
> It is time to start collecting this kind of "nice to have" tasks that do
> not require deep knowledge of the internal infrastructure.

deep knowledge is always relative, most often every task depends on the
skills. Including external libraries in our build process and configure
etc. is of course not easy ;-)

But in general, yes I think it can be a candidate for GSOC when somebody
will mentor it.

Juergen


> 
> Regards,
>   Andrea.
> 
> ---------------------------------------------------------------------
> 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]: replace cppunit with GoogleTest

Posted by Andrea Pescetti <pe...@apache.org>.
On 11/03/2013 Juergen Schmidt wrote:
> googletest. Good to know that it can do what I expected or better

Is this a good candidate project for the Google Summer of Code? If it 
is, please let's track it somewhere in Bugzilla and/or put a reference 
in http://wiki.openoffice.org/wiki/Summer_of_Code_2013

It is time to start collecting this kind of "nice to have" tasks that do 
not require deep knowledge of the internal infrastructure.

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: [CODE][PROPOSAL]: replace cppunit with GoogleTest

Posted by Juergen Schmidt <jo...@gmail.com>.
Am Montag, 11. März 2013 um 18:14 schrieb janI:
> On 11 March 2013 16:56, Jürgen Schmidt <jo...@gmail.com> wrote:
>  
> > Hi,
> >  
> > as part of our ip cleanup we remove the cppunit sources and allow the
> > system cppunit only. This is sup-optimal and a limitation from my point
> > of view.
> >  
> > I looked for an alternative and found GoogleTest [1] which seems to be a
> > possible alternative. I don't have time to investigate deeper in this at
> > the moment but maybe there is a new volunteer who is interested to
> > investigate some time here. I think it's a perfect task to get started
> > and play around with some basic modules like cppu etc.
> >  
>  
> The project I worked with (at work) last year used GoogleTest, combined
> with Python scripts and we had a little more than 10.000 unit test cases,
> which was tested at the end of every build run, so it works. We had however
> a pure C++ environment (apart from some php and js) so that may be a
> difference to AOO.
>  
> I can really recommend it, and it a good oportunity for a new volunteer. If
> nobody takes then I will grap it after I have finished l10n.
>  
>  

thanks for sharing your experience with googletest. Good to know that it can do what I expected or better that does scale with a large amount of test cases.

An improved unit testing should be a combined effort of all developers and I would say a prerequisite in the "future" for all new stuff. But ok we have to do some work before ;-)
>  
> rgds
> jan I.
>  
> >  
> > Juergen
> >  
> > [1] http://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]: replace cppunit with GoogleTest

Posted by janI <ja...@apache.org>.
On 11 March 2013 16:56, Jürgen Schmidt <jo...@gmail.com> wrote:

> Hi,
>
> as part of our ip cleanup we remove the cppunit sources and allow the
> system cppunit only. This is sup-optimal and a limitation from my point
> of view.
>
> I looked for an alternative and found GoogleTest [1] which seems to be a
> possible alternative. I don't have time to investigate deeper in this at
> the moment but maybe there is a new volunteer who is interested to
> investigate some time here. I think it's a perfect task to get started
> and play around with some basic modules like cppu etc.
>
The project I worked with (at work) last year used GoogleTest, combined
with Python scripts and we had a little more than 10.000 unit test cases,
which was tested at the end of every build run, so it works. We had however
a pure C++ environment (apart from some php and js) so that may be a
difference to AOO.

I can really recommend it, and it a good oportunity for a new volunteer. If
nobody takes then I will grap it after I have finished l10n.

rgds
jan I.

>
> Juergen
>
> [1] http://code.google.com/p/googletest/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org
>
>