Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > announce: New Google C++ Testing Framework

Reply
Thread Tools

announce: New Google C++ Testing Framework

 
 
Zhanyong
Guest
Posts: n/a
 
      07-04-2008
Hi,

We are glad to announce that today we have open-sourced Google C++
Testing Framework (http://code.google.com/p/googletest/), a library
that helps you write better C++ tests.

You can read more about the release at
http://googletesting.blogspot.com/20...c-testing.html.
Please send comments and questions to
.

Looking forward to hearing from you!
--
Zhanyong Wan
Software Engineer
Google
 
Reply With Quote
 
 
 
 
phlip
Guest
Posts: n/a
 
      07-04-2008
Zhanyong wrote:

> http://googletesting.blogspot.com/20...c-testing.html.


When they fail during debugging, does the debugger stop at a breakpoint on the
failing ASSERT_ or EXPECT_ line?
 
Reply With Quote
 
 
 
 
vladlosev@gmail.com
Guest
Posts: n/a
 
      07-04-2008
It has a command line option to do so.

On Jul 3, 6:49*pm, phlip <phlip2...@gmail.com> wrote:
> Zhanyong wrote:
> >http://googletesting.blogspot.com/20...w-google-c-tes.....

>
> When they fail during debugging, does the debugger stop at a breakpoint on the
> failing ASSERT_ or EXPECT_ line?


 
Reply With Quote
 
anon
Guest
Posts: n/a
 
      07-04-2008
Zhanyong wrote:
> Hi,
>
> We are glad to announce that today we have open-sourced Google C++
> Testing Framework (http://code.google.com/p/googletest/), a library
> that helps you write better C++ tests.
>
> You can read more about the release at
> http://googletesting.blogspot.com/20...c-testing.html.
> Please send comments and questions to
> .
>
> Looking forward to hearing from you!


Almost the same as http://cxxtest.sourceforge.net/guide.html except your
test framework is missing test macros for exceptions
 
Reply With Quote
 
phlip
Guest
Posts: n/a
 
      07-04-2008
anon wrote:

> Almost the same as http://cxxtest.sourceforge.net/guide.html except your
> test framework is missing test macros for exceptions


How does it stack up to TestUnit++?

(Zhanyong might notice we are listing the most well-reviewed C++ unit testers
here...)

Zhanyong Wan wrote:

> Phlip wrote:


>> Can the assertions do this?


>> http://assert2.rubyforge.org/

>
> No - I'd love to have that, but am not sure how you can do it in C++,
> which doesn't have reflection.
>
> What we have is predicate assertions:
>
>

http://code.google.com/p/googletest/...ate_Assertions

Your page does not explain that. That is Key-Yoot if it does this:

ASSERT_PRED(operator<=, foo, bar);

That also permits a lot of reflection. Your page _does_ say that when such as
assertion fails, it prints out source text of foo and bar.

Next, can your rig do the Abstract Test Pattern? That's hard unless you make
registering test cases hard (like CppUnit does).

--
Phlip
 
Reply With Quote
 
Zhanyong
Guest
Posts: n/a
 
      07-07-2008
Hi, guys,

Please send you comments to , as
that's where we track discussions on Google Test.

The Google Test FAQ (http://code.google.com/p/googletest/wiki/
GoogleTestFAQ) now explains why we built Google Test instead of using
an existing framework. You may find that useful.

> > What we have is predicate assertions:
> >
> >http://code.google.com/p/googletest/...ncedGuide#Pred...

>
> Your page does not explain that. That is Key-Yoot if it does this:
>
> ASSERT_PRED(operator<=, foo, bar);
>
> That also permits a lot of reflection. Your page _does_ say that when such as
> assertion fails, it prints out source text of foo and bar.


I just checked again. The wiki says that the assertion prints the
_values_ of foo and bar, and there are examples.

> Next, can your rig do the Abstract Test Pattern? That's hard unless you make
> registering test cases hard (like CppUnit does).


It is being worked on - we have an experimental design but it's not
final yet.

If you have follow-up questions, please send to
. Thanks!

--
Zhanyong
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete .NET FRAMEWORK 1.1 before installing .NET FRAMEWORK 2 ???? moi ASP .Net 3 09-26-2008 02:19 PM
New Google Owner agrees to use google for spelling purposes kevin@yourseoconsulting.com Digital Photography 0 03-19-2007 04:16 AM
Installing 1.1 Framework and 2.0 Framework on the same web server Mark ASP .Net 4 11-17-2005 03:30 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM
COMInterop does not work in Framework 1.1 without Framework 1.0 Anatoly Volodko ASP .Net 1 08-14-2003 08:11 PM



Advertisments