Issue with rendering dlang.org/library

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 14 02:08:09 PST 2015


On 14/02/2015 10:48 p.m., Vladimir Panteleev wrote:
> On Saturday, 14 February 2015 at 09:04:55 UTC, Rikki Cattermole wrote:
>
>> It might be wise to start setting up some form or web site testing.
>> Like PhantomJS[0].
>
> Can you write a PhantomJS test that checks whether a web page "looks
> broken"?

Anyone with DOM + javascript experience could. But it would be more of a 
set of unit tests then anything else.
Design related stuff, its probably easier to just add the images to the 
PR so that humans can review it manually.

Worse case scenario is nobody can say, it was pulled and its broken! Its 
PR'er's fault! No, it was whoever reviewed + pulled it as well for not 
checking those images.

In PhantomJS you have full access to execute javascript and hence modify 
the DOM from within the host V8 engine.
http://phantomjs.org/headless-testing.html


More information about the Digitalmars-d mailing list