[webkit-dev] Adding New Layout Tests
Kirby White
kwhiteright at gmail.com
Wed May 23 10:26:16 PDT 2007
On 5/23/07, Darin Adler <darin at apple.com> wrote:
>
> On May 22, 2007, at 5:04 PM, Reem Yazigi wrote:
>
> > I need to add some new Layout tests and everything I found online
> > concerning this issue can be found in the following 2 links:
> >
> > http://webkit.org/quality/testwriting.html
> > http://trac.webkit.org/projects/webkit/wiki/Writing%20Layout%
> > 20Tests%20for%20DumpRenderTree
> >
> > I'm still confused though about how to decide whether the added
> > Layout test is failing or passing!!
>
> Layout tests have expected results. Running the "run-webkit-tests"
> script creates an expected result file for each new test. The person
> who writes the test looks at the expected result file and makes sure
> it reflects correct behavior. Then the person committing checks in
> both the test and the expected result file. If the layout test gives
> the expected result, it passes. If it gives a different result, it
> fails.
>
> > Any step by step documentation for adding and running a new Layout
> > test?
>
> There's not. Many people have added new tests themselves while fixing
> bugs, but I don't think anyone wrote documentation about how to do
> it. Typically people show up on the IRC channel and ask questions
> about it.
I have a checklist I wrote for myself that might be useful for others too.
I just tried to add it to the wiki, but the wiki login points to
https://svn.macosforge.org/projects/webkit/login and seems to be down. I'll
keep trying.
Kirby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070523/a217e357/attachment.html
More information about the webkit-dev
mailing list