[webkit-dev] DRT/WTR should clear the cache at the beginning of each test?

Eric U ericu at google.com
Wed Aug 8 11:54:17 PDT 2012

On Wed, Aug 8, 2012 at 11:43 AM, Alexey Proskuryakov <ap at webkit.org> wrote:
> I can see some downsides to emptying the cache before each test:
> - we won't be getting any test coverage for cache behavior when it hits
> non-trivial size;

Then let's add a cache test explicitly for this.  Otherwise we just
have to hope it gets tested accidentally along the way.

> - this may well make tests measurably slower;
> - this will be yet another cause of subtle difference between platforms, as
> some will undoubtedly have this unimplemented for a long time.

Both good points, but probably worth it, given the reliability
improvement in the tests IMO.


More information about the webkit-dev mailing list