Mozilla A-Team: Writing tests for Peptest

Nov 30, 2011 11:50

With ahal's impending return to studentdom and myself coming back from paternity leave, I will be taking over Peptest development and maintenance. To get myself up to speed, I wrote some tests.

The easiest test to write is one that looks for unresponsiveness while simply loading a page. I've noticed that the site for my favourite blog, The Read more... )

mozilla

Leave a comment

Comments 3

Great work! anonymous November 30 2011, 17:20:50 UTC
Responsiveness when switching tabs is my biggest complaint/worst perception of lags with FF.

Reply


ext_911126 December 1 2011, 14:18:30 UTC
Interesting! We'll have to figure out some best practices for writing peptests. Clearly we can't be loading external pages in actual checked-in tests, but it's nice to see that the harness can detect things that we know are problems.

Reply

cloquewerk December 1 2011, 14:28:48 UTC
Yeah, peptest can (via mozmill maybe?) serve pages locally, and file URLs can be used too. In fact I made a version of the large-image-tab-switching test wirh file URLs that also reproduces the unresponsiveness, but I couldn't easily find a really large picture that we'd be allowed to redistribute. I'm sure, though, that we could create one without too much effort. Same with the large-doc test.

Reply


Leave a comment

Up