|
|
|
|
|
by bite_victim
4006 days ago
|
|
Side rant: I just cannot believe people praising 'Unit Test'-ing. Fellow programmers, how exactly do you unit test a method / function which draws something on the canvas for example? You assert that it doesn't break the code?! I see some really talented people out there who write unit test as proof that their code works without issues, that it's awesome and it cooks eggs and bacon etc. They write such laughable tests you cannot even tell if they are joking or not. They test if the properties / attributes they are using in methods are set or not at various points in the setup routine. Or if some function is being called after an event is being triggered. My point is this: unit testing can only cover such tiny, tiny scenarios and mostly logic stuff that it is almost useless in understanding what is going on in the big picture. Take for example a backbone application like the Media Manager in WordPress. Please tell me how somebody can even begin to unit test something like that. Unit testing is a joke. And sometimes a massive time consuming joke with a fraction of a benefit considering the obvious limitation(s). |
|
Adobes WebKit repository with layout tests: https://github.com/adobe/webkit/tree/master/LayoutTests
Example URLs from that repository:
https://github.com/adobe/webkit/blob/master/LayoutTests/css3...
https://github.com/adobe/webkit/blob/master/LayoutTests/css3...
https://github.com/adobe/webkit/blob/master/LayoutTests/css3...
Other browsers will have similar strategies.
I think this is essential for something with the complexity of a browser engine.