[webkit-dev] We should rename layoutTestController to testController

Ryosuke Niwa rniwa at webkit.org
Thu May 31 14:08:06 PDT 2012


On Thu, May 31, 2012 at 2:05 PM, Maciej Stachowiak <mjs at apple.com> wrote:
>
> On May 31, 2012, at 3:11 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
> On Thu, May 31, 2012 at 11:56 AM, Darin Adler <darin at apple.com> wrote:
>
>> I am thinking we should rename layoutTestController to testController. Or
>> if you don’t like that name, maybe testHarness or some even better name.
>>
>
> "testController" seems like a misnomer since it doesn't really control the
> test itself. I would prefer testRunnerController or simply testRunner since
> it's quite self-evident that methods on testRunner would act on the test
> runner itself.
>
> We could expose the object under the new name and the old one, and then
>> over time convert all the tests to the new name, then get rid of the old
>> one.
>>
>
> That sounds like a good idea.
>
> Can we also rename LayoutTests to RegressionTests? I know Dave (Hyatt)
> suggested to cleanup the render tree dump format to get rid of all hacks
> and tweaks we've added over years, and my preference is to combine all
> these efforts and put new types of tests in trunk/RegressionTests. We'll
> move tests from LayoutTests to RegressionTests as we convert. We'll get rid
> of LayoutTests directory once all tests have been converted to use
> testRunner and new render tree dump format.
>
> I don't think renaming the directory should be tired to changing the
> output format. In particular, it would be confusing to have both
> RegressionTests and LayoutTests exist at the same time for an extended
> period. I don't think it has worked out very well to have both
> WebCore/platform/ and Platform/ exist at the same time, for instance. There
> are other ways to track an incremental conversion effort.
>

I don't expect it to exist for an extended period of time since it's just a
matter of rebaselining results. Given a good tool (which we're going to
write), I'd expect it to be done in a matter of weeks if not in days.

- Ryosuke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120531/6b09fd2f/attachment.html>


More information about the webkit-dev mailing list