QA/test automation

From Apache OpenOffice Wiki
< QA
Revision as of 02:26, 13 July 2012 by Liuzhe (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

MUST READ BEFORE WRITING AUTOMATION CODE 1. Don't us random. That makes test uncertain, hard to debug and maintain. Instead of it, prepare enough special test data to cover boundary conditions. 2. Name tests properly. "testLoadFileFromServer" is better than "test". 3. Clean up in @After/@AfterClass method to avoid affecting other testcases.

Personal tools