[webkit-dev] C++ unit tests for WebKit?

Hans Muller hmuller at adobe.com
Wed Jul 11 15:44:14 PDT 2012

It looks like Tools/TestWebKitAPI/Tests/WebCore just contains one small
KURL test. I could certainly add more for the Exclusions shape classes,
but I got that feeling that maybe you get about being the first to take a
table at an empty restaurant.  Perhaps it's just that most of the C++
classes in WebCore are too interdependent to merit unit testing?

- Hans

On 7/11/12 2:26 PM, "Benjamin Poulain" <benjamin at webkit.org> wrote:

>On Wed, Jul 11, 2012 at 2:23 PM, Hans Muller <hmuller at adobe.com> wrote:
>> Have the merits of C++ unit tests been debated before?  I noticed that
>>a bug
>> representing as much has been around since 2008
>> (https://bugs.webkit.org/show_bug.cgi?id=21010).  The last comment
>> concludes with: "I'd be interested to hear other's thoughts."
>> I'd like to be able to include unit tests with worthy C++ classes,
>>however I
>> would also like to hear other's thoughts.
>That has been discussed before.
>We have some C++ tests, see Tools/TestWebKitAPI/Tests/
>You can probably integrate yours in there.

More information about the webkit-dev mailing list